Magic Post Thumbnail

Description

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
  • Generate automatically thumbnails : Compatible with WPeMatico, CyberSyn, Rss Post Importer, FeedWordPress & WP All Import

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

Official Website

Translations

  • English
  • 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)

Screenshots

  • A Thumbnail generated by Magic post Thumbnail
  • Magic post Thumbnail : Settings
  • Magic post Thumbnail : Image Banks
  • Magic post Thumbnail : Cron

Installation

  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 you want to get thumbnails and into “Bulk Actions” choose “Generate Magic Post thumbnail”

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.

FAQ

Installation Instructions
  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 you want to get thumbnails and into “Bulk Actions” choose “Generate Magic Post thumbnail”

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.

Reviews

Perfect!

The Plugin works for me. I hope for optimice in feature 🙂

Brilliant!

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!!

Google Images Api?

The developer must increase his clarity on this, I found the “Custom Search Engine ID”, but not the “Google API key”, which api do I need to create? The images api has been deprecated for a long time, so basically I couldn’t test the plugin for google images, it looks promising, I will wait if the author has any solution.

Amazing Time Saver – Google API Needs Work

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.

works great!

A great free plugin! Quickly and reliably fetches images at post update & publish. I found it’s possible to get good relevant results with careful domain selection within your google custom search engine, plus selection of larger image size. Definitely worth the time to tweak to get the best results. Thank you!

Read all 13 reviews

Contributors & Developers

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

Contributors

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.

Changelog

2.4

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

2.3.7

* Compatible with plugin WP All Import

2.3.6

* Fix error with google scraping method

2.3.5

* Fix JS Error with tabs
* Add Google Image Scraping Method : Google API is complicated to generate Google Search engine ID and API Key.

2.3.4

* Remove error with Google API Key.

2.3.3

* Remove fatal error

2.3.2

* Updates with Google API. Google API ID/key to provide.

2.3.1

* Fix pixabay API lock. API Username/key to provide.
* Now compatible with autoblog plugins CyberSyn, Rss Post Importer & FeedWordPress

2.3

* Add Flickr & Pixabay API
* Improve checking image file type
* Possibility to select a part of the title
* Remove some bugs while scraping

2.2.1

* Bug fix for non-latin image filename

2.2

* No more CURL or allow_url_fopen used. Replaced by WP function wp_remote_request() : More secure and compatible
* Images better scrapped
* Image filename renamed by post title instead of original scrapped filename
* Compatible with the cron WPeMatico plugin
* More options into Search Preferences menu
* Some security improvements
* Remove some bugs while scraping

2.1.1

* Add the link plugin on the wordpress plugins page.
* Add "Domain Path" and "Text Domain"
* Remove an useless function "add_post_meta" when saving a post

2.1

* Solution has been found to get back Google Image with Google API
* Generation phrases have changed color
* Work with now with CURL or allow_url_fopen

2.0

* Plugin doesn't support anymore Google Image. Replace by free to use Pixabay.com

1.3.2

* Add option "Generate Magic Post Thumbnail" for Custom Post Type

1.3.1

* Enable mass generation with servers that block some kind of ajax calls.
* Add error message when there is no image on Google, and don't create a blank image.
* Action 'edit_post' changed to 'save_post' for compatibility when publishing a new post

1.3

* Generation didn't work anymore with some selected countries in the list. Fixed.
* Choice to generate thumbnail or not regardless for each post
* Mass generation of post thumbnails with Action "Generate Magic Post thumbnail"

1.2

* Add "tbm=isch" at the end of the scraping Google URL. Otherwise it doesn't work any more.

1.1

* Error Message on settings with allow_url_fopen OFF
* Less empty image generated

1.0

* First release
* Automatically generates featured images