Title: Thumbnails are missing if inserted manually
Last modified: August 21, 2016

---

# Thumbnails are missing if inserted manually

 *  Resolved [kentwinder](https://wordpress.org/support/users/kentwinder/)
 * (@kentwinder)
 * [13 years ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/)
 * Hi Héctor,
 * I haven’t updated WPP for a while, because everything worked just fine. I don’t
   remember the previous version of WPP that I used but I’m pretty sure it was the
   version that used another plugin to get the thumbnails.
 * Yesterday I updated WPP to the latest version, everything works fine except for
   some posts that the plugin cannot get the thumbnails. When I checked I found 
   out that images in those posts are not uploaded using Add Media function, but
   imported directly using <img /> tag, and the urls are from another hosting.
 * This is my site: [http://ipluszone.net/](http://ipluszone.net/)
 * Thank you for your awesome plugin and your time, have a nice day,
    Kent
 * [http://wordpress.org/extend/plugins/wordpress-popular-posts/](http://wordpress.org/extend/plugins/wordpress-popular-posts/)

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

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [13 years ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/#post-3815022)
 * Hi Kent,
 * Thanks for the report. Did you add these IMG tags to your posts’ content?
 *  Thread Starter [kentwinder](https://wordpress.org/support/users/kentwinder/)
 * (@kentwinder)
 * [13 years ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/#post-3815043)
 * Yes, when you view that single post, the first image is displayed correctly, 
   but the thumbnail is the default no thumbnail image.
 * Because I want to use default css class for my <img> like <img src=”” class=”
   myClass” />, so here’s what I did to insert image into posts:
    Get image url 
   from my other hosting OR Upload image using Add Media tool in posting panel, 
   but I only get the full size image’s url. Then add it to img tag
 * Thumbnail in the first case is missing but the latter is displayed correctly.
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [13 years ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/#post-3815057)
 * I understand. Just to be sure, you did set _Thumbnail source_ to _First image
   on post_ on _Settings > WordPress Popular Posts > Tools_, right?
 * I think your problem is related to [this one](http://wordpress.org/support/topic/my-thumbnails-keep-dissapearing-after-upgrade)
   since both reports state that using external images cause the issue. I’m already
   looking into it, so don’t worry.
 *  Thread Starter [kentwinder](https://wordpress.org/support/users/kentwinder/)
 * (@kentwinder)
 * [13 years ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/#post-3815081)
 * Yes, I already did it.
 * I’m looking forward to the new update. Thank you for your time 🙂
 * Have a nice day,
    Kent
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [13 years ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/#post-3815114)
 * Hi Kent,
 * A small update: I’ve uploaded a test version of the plugin [here](http://downloads.wordpress.org/plugin/wordpress-popular-posts.zip)
   that hopefully should fix the issue with external images. Please, try it out 
   and post your feedback here.
 *  Thread Starter [kentwinder](https://wordpress.org/support/users/kentwinder/)
 * (@kentwinder)
 * [13 years ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/#post-3815115)
 * Hi Héctor,
 * It still gets the local image,
 * For example I have two posts with these two first images:
    [http://ipluszone.net/wp-content/uploads/artworks/Girlfriend-Single1.jpg](http://ipluszone.net/wp-content/uploads/artworks/Girlfriend-Single1.jpg)
   [https://lh5.googleusercontent.com/-MJyCrQwUIuc/UC4NJ6VDboI/AAAAAAAAAKM/AbTqMXPCj1U/s600/She%20Wolf%20%28Deluxe%20Version%29.jpg](https://lh5.googleusercontent.com/-MJyCrQwUIuc/UC4NJ6VDboI/AAAAAAAAAKM/AbTqMXPCj1U/s600/She%20Wolf%20%28Deluxe%20Version%29.jpg)
 * The first one is display correctly, and one thumbnail is created like this:
    
   [http://ipluszone.net/wp-content/uploads/artworks/Girlfriend-Single1-80×80.jpg](http://ipluszone.net/wp-content/uploads/artworks/Girlfriend-Single1-80×80.jpg)
 * But the second one is created like this:
    [http://ipluszone.net/wp-content/uploads/artworks/12598_She%2520Wolf%2520%2528Deluxe%2520Version%2529-80×80.jpg](http://ipluszone.net/wp-content/uploads/artworks/12598_She%2520Wolf%2520%2528Deluxe%2520Version%2529-80×80.jpg)
 * I think there might be some mistakes while creating thumbnail.
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [13 years ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/#post-3815116)
 * The problem with the second image are the spaces and other invalid characters
   in the filename, but the plugin should also check for that when creating the 
   thumbnail so thank you for the notice. I’ll look into it as soon as possible.
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [13 years ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/#post-3815117)
 * [New development version available](http://downloads.wordpress.org/plugin/wordpress-popular-posts.zip)
   😉
 *  Thread Starter [kentwinder](https://wordpress.org/support/users/kentwinder/)
 * (@kentwinder)
 * [13 years ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/#post-3815119)
 * Hi Héctor,
 * I have just checked the data, and the thumbnail is created, and you were right
   about the space and other special characters. This bug is like this:
 * If I use this link for the image:
    [https://lh5.googleusercontent.com/-MJyCrQwUIuc/UC4NJ6VDboI/AAAAAAAAAKM/AbTqMXPCj1U/s600/She%20Wolf%20%28Deluxe%20Version%29.jpg](https://lh5.googleusercontent.com/-MJyCrQwUIuc/UC4NJ6VDboI/AAAAAAAAAKM/AbTqMXPCj1U/s600/She%20Wolf%20%28Deluxe%20Version%29.jpg)
   Then one thumbnail is created with the filename: **12598_She%20Wolf%20%28Deluxe%
   20Version%29-80×80.jpg**, but somehow when I browse to the full url of that thumbnail
   [http://ipluszone.net/wp-content/uploads/artworks/12598_She%20Wolf%20%28Deluxe%20Version%29-80×80.jpg](http://ipluszone.net/wp-content/uploads/artworks/12598_She%20Wolf%20%28Deluxe%20Version%29-80×80.jpg),
   it will be changed to [http://ipluszone.net/wp-content/uploads/artworks/12598_She Wolf (Deluxe Version)-80×80.jpg](http://ipluszone.net/wp-content/uploads/artworks/12598_She Wolf (Deluxe Version)-80x80.jpg),
   and the thumbnail cannot be found.
 * But if I change the link for the image into this: [https://lh5.googleusercontent.com/-MJyCrQwUIuc/UC4NJ6VDboI/AAAAAAAAAKM/AbTqMXPCj1U/s600/She Wolf (Deluxe Version).jpg](https://lh5.googleusercontent.com/-MJyCrQwUIuc/UC4NJ6VDboI/AAAAAAAAAKM/AbTqMXPCj1U/s600/She Wolf (Deluxe Version).jpg)(
   the same image, just change encoded characters back to ASCII characters), and
   the thumbnail is created like this: [http://ipluszone.net/wp-content/uploads/artworks/12598_SheWolfDeluxeVersion-80×80.jpg](http://ipluszone.net/wp-content/uploads/artworks/12598_SheWolfDeluxeVersion-80×80.jpg)
   and everything works just fine.
 * One more detail, all the special characters in upload folder of wordpress is 
   changed to “-“, but for some other hosting sites, they just encode the url
 * Btw, why does this development version is slower than the final version? It takes
   a while to display the popular posts. But if I use the final versions, all the
   posts are display instantly.
 * Thank you and have a nice day,
    Kent
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [13 years ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/#post-3815122)
 * Hi Kent,
 * The plugin seems slower because it has to download the external image(s) first(
   if it’s not in your Uploads folder already) to create the thumbnail. The larger
   the original image is, the longer WPP will take to create the new thumbnail. 
   After the thumbnail is created for the first time WPP will use the local copy
   instead, so everything should be faster.
 * Another possible solution to avoid slowdowns is simply to resize the original
   image without creating the thumbnail, that way WPP won’t have to download the
   full image – but in my experience this often results in distorted images.
 *  Thread Starter [kentwinder](https://wordpress.org/support/users/kentwinder/)
 * (@kentwinder)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/#post-3815146)
 * Hi Héctor,
 * Thank you for your time 🙂
    I think the problem is solved, looking forward to
   the final version 🙂
 * Have a nice day,
    Kent

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

The topic ‘Thumbnails are missing if inserted manually’ 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

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

 * 11 replies
 * 2 participants
 * Last reply from: [kentwinder](https://wordpress.org/support/users/kentwinder/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/thumbnails-are-missing-if-inserted-manually/#post-3815146)
 * Status: resolved