Plugin / Automatic Thumbnail Generator




This plugin will scan your thumbnail-less posts and look for a suitable image to use as a thumbnail.
It will look for images linked in the post content and will download and add them to the local library.
Post scanning is performed only when the_post_thumbnail or get_the_post_thumbnail are called for
that particular post.

So you designed your new thumbnail-based template, but you have tons of thumbnail-less posts and
don’t want to spend too much time on scraping your old posts for a thumbnail picture. Maybe you
think you will probably forget to set a thumbnail for your new posts. Maybe both, as was my case :).

When a thumbnail for a post is queried and nothing is found this plugin will scrape the post for
an <img> tag and its href property. Once a suitabile image is found (based on the configured
settings), it will be downloaded ad set as the post thumbnail. If no suitable image is found,
a default one will be used.

This plugin is still in early development state. It just covers my needs (see the “To do” section
for more details). It has been tested only with wordpress 3.0.1, but should work also with 2.9,
since I used similar code with 2.9 (even if it was included in my template’s functions.php).

The plugin is not supported. This doesn’t mean that I will not look into submitted bugs. Anyway,
don’t expect prompt answers, since this is done in my spare time.

To do

Many things should be done in future releases. Here are some:

  • Current version always downloads selected linked images. This works good with images hosted on external sites.
    If your posts link to images hosted in your media library, you will end up with two images.
  • A more user friendly name should be used for images added to the library (e.g. Thumbnail for post …)
  • Somewhere, a button to reset the “previously scanned” status of all posts should be provided (on current version,
    you cas set or reset it for single posts in the edit page.
  • “previously scanned” status should probably be reset (or at least you should be asked to) when publishing a
    updating an existing post

More ideas are wellcome.


0 reviews

Rating breakdown

Details Information



First Released

25 Oct, 2010

Total Downloads


Wordpress Version

3.0.1 or higher

Tested up to:


Require PHP Version:






The plugin hasn't been transalated in any language other than English.


The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.