Title: Error attribute with height
Last modified: August 31, 2016

---

# Error attribute with height

 *  Resolved [Dinhᵀᵛ](https://wordpress.org/support/users/dinhcode/)
 * (@dinhcode)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-attribute-with-height/)
 * hi,
 * i have add in index.php
    `<?php wpp_get_mostpopular( 'post_type="post,film"&limit
   =10&rating=1&thumbnail_width=\'300\'&thumbnail_height=\'200\'&post_html="<li>{
   thumb_img} {title}{rating}</li>"' ); ?>`
 * and views source i have:
    `<img src="http://xxx/wp-content/uploads/wordpress-
   popular-posts/11-featured-300x200.jpg" width=300 height=200`
 * error attribute `width=300 height=200`
 * How to fix that?
 * Thanks!
 * [https://wordpress.org/plugins/wordpress-popular-posts/](https://wordpress.org/plugins/wordpress-popular-posts/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-attribute-with-height/#post-7137951)
 * Hi there!
 * [It’s been fixed already](https://github.com/cabrerahector/wordpress-popular-posts/issues/100).
   A new version with this change *and a few others) will be available soon, so 
   make sure to upgrade once it’s out 🙂

Viewing 1 replies (of 1 total)

The topic ‘Error attribute with height’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/error-attribute-with-height/#post-7137951)
 * Status: resolved