Magic Post Thumbnail


Automatically generate thumbnails for your posts !

Retrieve first image from Google Images, Flickr or Pixabay thanks to API, based on your post title and add picture as your featured thumbnail when you publish the post.
Settings allow you to configure some settings for your automatics images : Image bank, language search, posts types chosen, image type, free-to-use or not, image size and much more.

You can :

  • Generate thumbnail for one post ( or page, custom post type… )
  • Generate thumbnails massively for chosen posts or chosen taxonomies
  • Generate automatically thumbnails : Compatible with WPeMatico, CyberSyn, Rss Post Importer, FeedWordPress & WP All Import

Upgrade your plugin to Pro Version ! You will get much more options to configure, more image banks, and customisable crons.

Official Website


  • Anglés
  • French

Todo list

Magic post thumbnail is improving progressively. Feel free to post on the forum or email me to give your suggestion or warn about a bug.

  • More translations (you can help)

Support the plugin

If you’ve found the plugin useful, please consider making a donation. You can also visit my Amazon Wishlist. Thank you for your support !


  • A Thumbnail generated by Magic post Thumbnail
  • Magic post Thumbnail : Settings
  • Magic post Thumbnail : Image Banks
  • Magic post Thumbnail : Cron
  • Magic post Thumbnail : Mass Generate
  • Magic post Thumbnail : Generate featured images for post types
  • Magic post Thumbnail : Generate featured images for taxonomies


  1. Activate the plugin
  2. Go to Settings > Magic Post Thumbnail
  3. Configure your settings, which post type you want to enable it and the image bank.
  4. Go into a post or create one, choose « Plugin enabled for this post » on the sidebar. Update/Create the post and your thumbnail is generated as featured image !
  5. You can also mass generate thumbnails for posts. Go into the list of your posts, choose posts or taxonomy you want to get thumbnails, and into « Bulk Actions » choose « Generate featured images »

If you want to use the Google Image API method : From now on to use the Google Images API, it’s required to provide your own Google Search engine ID and API Key. Follow these steps :

  • Go to the Google API Console > Credentials > Create credentials > API key, copy your new key into the plugin preferences ( Google API Key field ). Then go to Library > Custom Search API > Enable.
  • Go to Custom Search page. Create a new search engine. Then edit the search engine and get the search engine ID. Copy/paste it into the plugin preferences ( Custom Search Engine ID field ).
  • Enjoy !

The « How to do » for APIs activations is available here.


3 octobre 2019
I purchased, but could not use this plug-in. I want to acquire tens of thousands of face images of 200x200pix only (Custom post type). Plug-in issues ■The acquired image is large(Setting is not an icon) Get in medium size Capture with automatic face position trimming plug-in Reduce image quality with image optimization plug-ins 200x200 size with upload resizing plug-in Many supplemental plug-ins are required. . . A large number of thumbnails can be set automatically, but the image cannot be processed, which is a major obstacle to the server. Therefore, how should the automatic processing function be performed simultaneously with uploading? This is the problem.
1 Agost 2019
We needed to change the featured images for 100's of posts that already had featured images. Wow! Wow! This plugin works like a champ and saved many hours of time if we had to do this process manually. Used this plugin to regenerate new featured images automatically. Just go to the posts page and check the posts you need to regenerate featured images for and watch it work the magic. We used Google Images (scrape) and all's good. Nice work! Highly recommended plugin.
12 decembre 2016
The Plugin works for me. I hope for optimice in feature 🙂
29 novembre 2016
The plugin is amazing!! Helps save lots of time. Google images API works great and scraping too! I've tried Flickr's api and that worked without any issues Even Pixabay did its job! if someone wants to use all the sources then It would be cool to have an option like that but no complaints!!
18 novembre 2016
What good fortune finding this plugin. Pulling in RSS feeds as posts, this plugin solves the missing featured image problem. Of the various import methods, Google Images scrape is the most consistent, as title keywords won't often turn up hits at Pixabay or Flickr, especially if your trying to respect copyright 🙂 Google API method was a dead end for me. Sure, I understand the Google Dev console and have many many projects and associated APIs. But creating a Google Custom Search Engine, then getting an API too; which api? Any. Will a YouTube, Google Cloud, Google Maps API work? They did not in my tests. The author needs to ferret out and better explain how a user is supposed to meet those criterias.
Read all 14 reviews

Contributors & Developers

“Magic Post Thumbnail” is open source software. The following people have contributed to this plugin.


Translate “Magic Post Thumbnail” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



* New Option : Add choice for image filename
* New Option : Rewrite existing featured images 


* Fix Google API options


* Remove very special character "…" with search term
* Fix default options (with Google Scraping & Google API) for first use
* Add "Generate featured images" link into taxonomies
* Fix wpematico compatibility


* Add "Based on" with custom field for pro version
* Domains restriction with Google scraping for pro version
* Bulk generation link fixed
* Fix when no category & post types are chosen


* Fix skip button with Freemius
* Update Freemius version


* Change some translations
* Settings : Add a filter according categories. Exactly like post types
* Change default_options_banks_settings() parameter. Always set to true


* Load wp-load.php insteand of wp-blog-header.php and change the way to include it.
* Avoid title filter with get_post_field() insteand of get_the_title()


* Add Freemius service
* Fix bug with variable not defined into MPT_add_settings_link()
* Avoid js errors : Add images folder into jquery-ui` folder
* Avoid error with empty image extension. Set to .jpg when image extension is not defined.
* Change method to include wp-blog-header.php


* Fix bug with CyberSyn


* Fix small bug. Separate condition get_post_type() and has_post_thumbnail()


* Change settings page
* Add crons, new images banks and new settings for the pro version