Title: Receiving Error on Thumbnails
Last modified: August 21, 2016

---

# Receiving Error on Thumbnails

 *  Resolved [K4Kimber](https://wordpress.org/support/users/k4kimber/)
 * (@k4kimber)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/receiving-error-on-thumbnails/)
 * Love this plugin but I’m receiving these errors when I try to add thumbnails.
 * > Warning: getimagesize(): http:// wrapper is disabled in the server configuration
   > by allow_url_fopen=0 in /Home/Thelefto/Public_html/Wp-Content/Plugins/Wordpress-
   > Popular-Posts/Wordpress-Popular-Posts.Php on line 2408
   > Warning: getimagesize([http://the-leftovers.com/_index_thumbs/thumb_blank.jpg](http://the-leftovers.com/_index_thumbs/thumb_blank.jpg)):
   > failed to open stream: no suitable wrapper could be found in /Home/Thelefto/
   > Public_html/Wp-Content/Plugins/Wordpress-Popular-Posts/Wordpress-Popular-Posts.
   > Php on line 2408
 * My Site
    [http://the-leftovers.com/](http://the-leftovers.com/)
 * Any thoughts?
 * Kimber
 * [https://wordpress.org/plugins/wordpress-popular-posts/](https://wordpress.org/plugins/wordpress-popular-posts/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [K4Kimber](https://wordpress.org/support/users/k4kimber/)
 * (@k4kimber)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/receiving-error-on-thumbnails/#post-5086297)
 * It seems that it can’t pull the first post image if it is not uploaded via the
   wordpress gallery (month,date). Some of my images are located in a different 
   directory thus giving me an error. Is there a way around this?
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/receiving-error-on-thumbnails/#post-5086299)
 * Hi Kimber,
 * It seems your hosting is blocking PHP from accessing URL addresses (your own 
   site, actually), which is why you’re seeing this warning message.
 * Try adding this to your .htaccess file:
 * `php_flag allow_url_fopen On`
 * If that doesn’t work, please ask your hosting to enable _allow\_url\_fopen_ in
   php.ini.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Receiving Error on Thumbnails’ 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/)

## Tags

 * [allow_url_fopen()](https://wordpress.org/support/topic-tag/allow_url_fopen/)
 * [getimagesize](https://wordpress.org/support/topic-tag/getimagesize/)
 * [thumbnail](https://wordpress.org/support/topic-tag/thumbnail/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 2 replies
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/receiving-error-on-thumbnails/#post-5086299)
 * Status: resolved