Support » Plugins » [Plugin: Auto Post Thumbnail] no featured thumbnail appears

  • Resolved ddeconin


    I get the “generate thumbnails” progress bar, but no featured thumbnail appears. Is there a way I can ‘debug’ this ?

Viewing 15 replies - 1 through 15 (of 17 total)
  • I also found that I have entries in wp_postmeta with the meta_key ‘_thumbnail_id’ but still they don’t appear in the admin panel.

    If the entry is getting added in database table, then make sure that you have added

    add_theme_support( 'post-thumbnails' );

    in your theme’s functions.php file.

    I had already done that. I know that that works since I can explicitly add a featured thumbnail to a post (through the gui) and then I see it , but I don’t see the featured thumbnail for a thumbnail added with the Auto Post Thumbnail plugin.

    Also , when coding for thumbnails in my theme I found that :
    has_post_thumbnail will return true for all thumbnails ( manual and auto generated ones ) but
    <?php the_post_thumbnail('thumbnail',array('class' => 'left','alt' => ''.get_the_title().'','title' => ''.get_the_title().'')); ?>
    will only return a thumbnail for the posts where I manually added one.

    That’s strange. I checked with the exact same code given above and it worked for me. You may want to debug a bit the_post_thumbnail() function to check whether things are going wrong in your case.

    Do you let me know if you come across any issues.


    The issue seems to be with the fact that I had copied the data from another blog using export/import. I used the steps I found in the codex to modify the url’s of the images inside the post and was able to re-add the images in the media library using another plugin, now there are no links between the images in the post and the media library. I guess that since there is no actual link, your plugin is not able to perform all steps involved in setting the featured thumbnail.
    l tried your plugin on the original blog an there it worked.
    One feature request: In the batch processing, an ‘override’ current post thumbnail might be handy.

    Thanks for the update. Really appreciate your efforts to debug the issue.

    On technical note, the plugin first tries to find whether the image is uploaded from local media by checking for a special CSS class of the format wp-image-xxx where xxx is the thumbnail id from media library. If it finds such a thing in image, it just makes it a featured thumbnail. Since you have done so much processing on posts, something might have changed in these ids and thus the plugin is unable to link it correctly.

    Regarding the new feature, I like the idea. Will surely try to implement this in the next release.


    Hi Aditya,
    I am trying to use your plugin but am not being able to generate the thumbnails. I am using the Gemer theme. Any ideas why this might be happening?

    Hi Aditya,
    Your plugin does not seem to be working for me. So I can understand what the problem is, can you tell me where it looks for wp-image-xxx?

    @jazbek – The code related to this can be found in wp-content/plugins/auto-post-thumbnail/auto-post-thumbnail.php on line 254. But before that, try the update I released today, 19th Jan, 2011. Might work for you as I have added extra checks for generating thumbnail.

    Let me know how it goes.


    Thanks for the reply. I went to the plugin page and it said last updated 2010-12-2. Where can I get the latest release?

    Ah. That’s strange. The date on the plugin page hasn’t changed but the version number is new. Click and Download Version 3.2.2 and I am sure you will get the latest version.

    i used the plugin first time and it worked..
    i deactivated the plugin and all my only generated images are gone !!!
    again i am unable to generate any images…
    Also i have not added any image via media uploader…i used an rss imported …but all the images are cached on my server

    is there a way to generate thumbs usin the first image in the post…but again as i said this image was not uploaded manually so it would not have any ID

    thanks….its a wonderful plugin
    but its bugging me…any help would be greatly appreciated


    figuered it out….the plugin is not generating featured images of already generated images or scanned posts….

    I deactivated the plugin…and now when i want to auto generate for previous posts its not hapening !!

    is there a way or a option to generate images of already scanned posts…
    may be some database clearing or anything?

    Right now there is no way to generate featured/post thumbnails for posts that already have the thumbnails. I hope you have gone through the Auto Post Thumbnail option under Settings menu which generates thumbnails for existing posts.

    Also, the latest release doesn’t just depend on the ID as discussed above. The plugin now scans the database before trying to duplicate the image.

    thanks for the quick reply…..

    yeah for the first time i used the auto post thumbnail to generate images.
    Then the images appeared…..
    but i deactivated the plugin and all the featured images set the plugin were gone ? is this the normal behaviour of the plugin ?

    also i activated the plugin again….tried to generate featured images again….the progress bar says 83 processed posts…but i have some 254 published posts ?

    as you said….

    The plugin now scans the database before trying to duplicate the image.

    but in my case i need the plugin to scan again and forcibly duplicate images… there a way to do this ?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Plugin: Auto Post Thumbnail] no featured thumbnail appears’ is closed to new replies.