ImageInject, previously called WP Inject, allows you to easily insert photos and images into your WordPress posts. Search among many thousands of free creative commons images for any keywords of your choice, then pick the best of them for the article you are working on and insert them into your post or set them as featured image! Best of all it is super fast: Injecting an image only takes 3 clicks in total!

No further setup is required after installing ImageInject. You can start inserting photos right away! To do so the plugin adds an easy to use search metabox to your WordPress editor (“Add New” post screens). Simply enter any keyword to find great photos for your post.

Advanced users can head to the ImageInject settings page and fine tune the plugin. A lot of different options let you control most aspects of how ImageInject finds and inserts images into your posts. By editing the templates you can control exactly how the photos and automatic attribution will look on your blog!

Have a look at my tutorial on how to install and use ImageInject to get started with the plugin. Besides explaining the basics the tutorial also contains details on all the available settings in ImageInject and how the plugin works together with WordPress SEO by Yoast.

Supported Image Sources:

  • Flickr – Over 200 million creative commons images. Attribution is automatically added where required.
  • Pixabay – More than 150,000 high quality public domain photos. No attribution required for any of them!
  • More sources will be added in the future to bring you even more free images for your blog posts!


  • Search thousands of creative commons photos and include any into your posts.
  • Fast and easy: Inserting images takes 3 clicks and less than a minute!
  • Automatically adds the required attribution links next to the image.
  • Set the featured image for your post with a single click.
  • Insert multiple images at once and create whole galleries!
  • Choose between several image sizes easily.
  • Modify the templates of ImageInject to change how images get displayed in your posts.
  • Images are saved to your own server and added to the WordPress media library.
  • Automatically populated ALT and title tags of the image for search engine optimization.
  • Search for many different keywords and compare the results to find the best matches.
  • Can use and insert your focus keyword set in WordPress SEO by Yoast for easier image search optimization.
  • Display attribution in WordPress caption shortcodes right next to inserted images.

ImageInject has also been implemented into CMS Commander, my service that allows you to manage any number of WordPress blogs from a single dashboard.


  • The metabox is added to the WordPress editor page by ImageInject and allows you to search for photos fast.

  • Photo search results. Hover over any thumbnail and click on one of the size links to insert the photo into your post immediately.

  • You can select multiple photos by clicking on them and then insert them all together.

  • Support for multiple searches. Compare results side by side to find the best matching photos for your post.


  1. Upload the plugin folder to your /wp-content/plugins/ directory
  2. Go to the “Plugins” page in your WordPress admin and activate ImageInject
  3. Go to the “Add New” post or page screen in your WordPress admin and you will find a new metabox for ImageInject that allows you to easily insert images.

You can read my tutorial for more details on how to install and use ImageInject.


easy and helper

it is easy to use and helping to find images. i hope in future more image resources could be added (not only pixabay and flickr)

Breaks some WordPress functionality.

You can search for images, and click the add featured button, which makes the image end up in the media library, but the plugin fails to update the “featured image” widget on the post page with the new image. You have to refresh the page to see the changes. This makes it confusing.

Terrific Plug-In and Can Save You a Lot of Money/Anxiety, Too

We installed it at a group blog where, after an outlandish but still potentially expensive threat of lawsuit for copyright infringement, we adopted a policy of using properly credited rights-cleared images. It quickly became a favorite of editors and writers, and an essential tool. Takes a little bit of work to understand and configure correctly, but overall it’s very easy to use. If the developers added Wikimedia search, I’d need six stars.

I am pleased and very wonderful.

I am pleased and very wonderful.
I liked it very much.

But there is hope.
Please to perfect the correspondence of internationalization.

1) additional text domain

* Text Domain: wpinject
* Domain Path: languages

2) additional function of internationalization

add_action( 'plugins_loaded', 'wpinject_load_textdomain' );
function wpinject_load_textdomain() {
    load_plugin_textdomain( 'wpinject', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );

3) wpinject.php

3-1) Example : Modify the previous code
<h3>Available Template Tags</h3>

3-2) Example : Amended code
<h3><?php _e("Available Template Tags","wpinject") ?></h3>

4) info_sources_options.php

4-1) Example : Modify the previous code
"Commercial Use Allowed, Attribution Required"

4-2) Example : Amended code
__("Commercial Use Allowed, Attribution Required","wpinject")

The next update I am looking forward.



“ImageInject” is open source software. The following people have contributed to this plugin.




  • Fixed: Security improvements


  • Fixed: Switched the attribution link setting for ImageInject to be off by default.


  • Fixed: Bug that prevented Flickr SSL connection from working on certain servers
  • Updated: Support for new Pixabay API changes, which will go into effect on Feb 1st


  • Added: The caption attribution is now saved to the database, so that it can be reused in future posts.
  • Fixed: Attribution is now inserted properly when inserting featured images.


  • Support for custom post types: Image search form is now displayed for all your custom posts!


  • WP Inject has been renamed to ImageInject
  • Adds support for displaying attribution as a WordPress caption shortcode. You can enable this on the settings page (active by default on new installations).


  • Fixes a bug that prevents ImageInject from loading all its scripts on multisite blogs.


  • Fixes a problem that prevented ImageInject from working on blogs that use https://
  • Fixes a bug that prevented image search from working on WP multisite blogs.


  • Resets Pixabay API Keys. Please update to ensure Pixabay keeps working!
  • Large preview images are now loaded only when hovering over the thumbnail to increase performance.
  • An image search can now be started by pressing the “enter” button while the keyword field is active (previously saved the post).


  • Fixes a bug that prevented Flickr attribution from getting added when setting a featured image.


  • Adds large image size (1280px) to Pixabay results
  • Fixes a bug that caused unnecessary API requests being sent and prevented new images from getting added when repeating a search.
  • Updates the Flickr API to use SSL for all requests.


  • Pixabay does not require you to enter an API key and username anymore! You can now use Pixabay right away after installing ImageInject.


  • Adds Pixabay as an additional image source, providing over 150,000 high quality photos for your posts.


  • Adds possibility to get more than 100 images per search to the Settings page
  • Adds image title, author and date below previews of photos
  • Fixes a small bug that could cause image uploads to fail.


  • Improved error reporting for if the upload of images to the server fails.
  • Fallback function used if image upload fails.
  • Fixes a bug preventing the saving of photos for certain users.


  • Fixes a bug that caused a fatal error on network activation on WP multisites.
  • Fixes a minor bug with attribution links.


  • Adds support to save multiple images to your media libary with one click
  • Adds WP multisite support: You can now use “network activate” to activate ImageInject on all your blogs at the same time


  • Fixes a bug that prevented one of the “Save Settings” buttons on the options page from working.


  • Adds “Filename Template” setting, allowing you to customize the filename of saved images, e.g. for SEO reasons.
  • Fixes a display bug on the Settings page for certain browsers.


  • Adds a small CC icon to attribution text linking to the photo license.
  • New tags for the attribution template: {cc_icon}, {license_name}, {license_link}


  • New attribution template setting.
  • New attribution location setting.
  • Now uses WordPress own CSS classes for aligning inserted images.


  • First public release.