Title: Thumbnails were missing
Last modified: August 22, 2016

---

# Thumbnails were missing

 *  [fatbunny](https://wordpress.org/support/users/fatbunny/)
 * (@fatbunny)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/)
 * After upgrading to 0.9.6, thumbnails were not showing anymore.
    I tried to inspect
   element and this was what I found.
 * `<img class="rpwe-alignleft rpwe-thumb get-the-image" src="" alt="excellence"
   >`
 * Seems like there was a problem getting the image source
 * [https://wordpress.org/plugins/recent-posts-widget-extended/](https://wordpress.org/plugins/recent-posts-widget-extended/)

Viewing 15 replies - 31 through 45 (of 69 total)

[←](https://wordpress.org/support/topic/thumbnails-were-missing/page/2/?output_format=md)
[1](https://wordpress.org/support/topic/thumbnails-were-missing/?output_format=md)
[2](https://wordpress.org/support/topic/thumbnails-were-missing/page/2/?output_format=md)
3 [4](https://wordpress.org/support/topic/thumbnails-were-missing/page/4/?output_format=md)
[5](https://wordpress.org/support/topic/thumbnails-were-missing/page/5/?output_format=md)
[→](https://wordpress.org/support/topic/thumbnails-were-missing/page/4/?output_format=md)

 *  [jaypabs](https://wordpress.org/support/users/jaypabs/)
 * (@jaypabs)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274257)
 * I am experiencing the same problem. Some of the recent post widget has no thumbnail.
 * Where to add this code: <?php var_dumb( $thumb_id ); ?>
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274258)
 * [@jaypabs](https://wordpress.org/support/users/jaypabs/)
    - Please go to Plugins > Editor
    - Look at the selectbox on your right, select this plugin name
    - You will see a list of the plugin files on the right, click rpwe.php
    - Add `var_dumb( $thumb_id );` below the `$thumb_id = get_post_thumbnail_id();`
      function
 * Please try it.
 *  [jaypabs](https://wordpress.org/support/users/jaypabs/)
 * (@jaypabs)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274259)
 * I deleted the widget and add it again and it works fine.
 * But seems it does not follow the height that I’ve set.
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274260)
 * Oh great 😀
 * > But seems it does not follow the height that I’ve set.
 * Haha, I’m so sorry, I made a mistake with the description, it should be (height,
   width, align)
 *  [jaypabs](https://wordpress.org/support/users/jaypabs/)
 * (@jaypabs)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274261)
 * I can’t find $thumb_id = get_post_thumbnail_id(); in rpwe.php. May be this is
   the cause of the problem.
 * Also, when I delete the widget on some of my site, the thumbnail still does not
   show. I’m confused though, because it works on one of the site.
 *  [jaypabs](https://wordpress.org/support/users/jaypabs/)
 * (@jaypabs)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274262)
 * May be what you mean, find $thumb_id = get_post_thumbnail_id(); under recent-
   posts-widget-extended/includes/functions.php?
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274263)
 * oh yes, sorry I mean in `functions.php` what do you see? It should display the
   featured image ID
 *  [jaypabs](https://wordpress.org/support/users/jaypabs/)
 * (@jaypabs)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274264)
 * The widget does not show after adding that code.
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274265)
 * Please change these 3 lines of code
 *     ```
       $thumb_id = get_post_thumbnail_id();
       $img_url  = wp_get_attachment_url( $thumb_id, 'full' ); // Get img URL.
       $image    = aq_resize( $img_url, $args['thumb_width'], $args['thumb_height'], true ); // Resize & crop img.
       ```
   
 * with this one
 *     ```
       $thumb_id = get_post_thumbnail_id();
       var_dumb( $thumb_id );
       $img_url  = wp_get_attachment_url( $thumb_id, 'full' ); // Get img URL.
       var_dumb( $img_url );
       $image    = aq_resize( $img_url, $args['thumb_width'], $args['thumb_height'], true ); // Resize & crop img.
       ```
   
 * I’m sorry to waste your time, but I need it to test what is causing the thumbnail
   not showing 🙂
 *  [jaypabs](https://wordpress.org/support/users/jaypabs/)
 * (@jaypabs)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274266)
 * Still the same. Some thumbnail still not showing.
 * The only difference is that the widget does not disappear.
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274267)
 * Please asnwer these questions
    - You don’t see any number appear?
    - Are you sure your post has featured image?
    - Do you know your theme uses Aqua Resizer script?
 *  [jaypabs](https://wordpress.org/support/users/jaypabs/)
 * (@jaypabs)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274268)
 * You don’t see any number appear?
    Nope. After clearing the cache, the widget 
   does not appear as before.
 * Are you sure your post has featured image?
    Yes, of course.
 * Do you know your theme uses Aqua Resizer script?
    How do I know if my theme uses
   Aqua Resizer script? How do I install this?
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274269)
 * Oh ok, first two question is enough for me, there’s something wrong with the 
   resizer script. Thank you so much for helping me to debug the issue and I’ll 
   prepare for the update.
 *  [Praveen Kumar](https://wordpress.org/support/users/spk100/)
 * (@spk100)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274270)
 * I am sorry i was able to come online only now. Looks like jaypabs tested it out
   for you.
 * I tried it out on my dev.
    and just like him, i did not see any number appear,
   all my posts have featured images and i do not have aqua resizer script nor i
   plan to install it.
 *  Plugin Author [satrya](https://wordpress.org/support/users/satrya/)
 * (@satrya)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/3/#post-5274271)
 * Hi Kumar and all,
    Please try to update to the newer version. I hope it fixed
   the issue. 🙂

Viewing 15 replies - 31 through 45 (of 69 total)

[←](https://wordpress.org/support/topic/thumbnails-were-missing/page/2/?output_format=md)
[1](https://wordpress.org/support/topic/thumbnails-were-missing/?output_format=md)
[2](https://wordpress.org/support/topic/thumbnails-were-missing/page/2/?output_format=md)
3 [4](https://wordpress.org/support/topic/thumbnails-were-missing/page/4/?output_format=md)
[5](https://wordpress.org/support/topic/thumbnails-were-missing/page/5/?output_format=md)
[→](https://wordpress.org/support/topic/thumbnails-were-missing/page/4/?output_format=md)

The topic ‘Thumbnails were missing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-posts-widget-extended_3384ca.
   svg)
 * [Recent Posts Widget Extended](https://wordpress.org/plugins/recent-posts-widget-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-posts-widget-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-posts-widget-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-posts-widget-extended/reviews/)

 * 69 replies
 * 9 participants
 * Last reply from: [Nancy Rector](https://wordpress.org/support/users/nanrector/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/thumbnails-were-missing/page/5/#post-5274375)
 * Status: not resolved