WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Get the Image

An easy-to-use image script for adding things such as thumbnail, slider, gallery, and feature images.

Why was this plugin created?

It was originally created to work with magazine/news themes. These types of themes typically required a lot of work when inputting images to make them look good. This plugin was developed to make that process much easier for the end user. But, at the same time, it needed to be flexible enough to handle anything.

However, over the years, it has grown to be one of the most robust image scripts for WordPress.

How does it grab images?

  1. Looks for an image by custom field (one of your choosing).
  2. If no image is added by custom field, check for an image using the_post_thumbnail() (WordPress featured image).
  3. If no image is found, it grabs an image attached to your post.
  4. If no image is attached, it can extract an image from your post content (off by default).
  5. If no image is found at this point, it will fall back to a default image (not set by default).

How do I add it to my theme?

There are several methods, but in general, you would use this call within The Loop.

<?php if ( function_exists( 'get_the_image' ) ) get_the_image(); ?>

To see all methods and options, refer to the readme.md file included with the plugin download or view it on the plugin's GitHub page

Requires: 3.9 or higher
Last Updated: 2014-7-23
Downloads: 422,883

Ratings

4 stars
4.6 out of 5 stars

Support

1 of 3 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1
100,3,3
33,3,1
100,3,3 100,3,3
82,17,14
100,9,9
75,4,3 100,3,3
100,7,7 100,1,1 100,4,4
100,1,1
67,3,2
100,2,2
100,1,1
100,7,7 100,2,2
100,1,1 100,3,3
100,2,2
100,1,1
50,2,1
88,8,7 88,8,7
67,6,4
83,12,10
80,5,4 100,1,1
100,3,3
100,4,4
67,3,2 100,1,1
100,1,1 75,4,3
80,5,4 100,1,1
100,1,1 100,1,1
100,1,1 100,2,2
100,2,2
100,2,2
0,1,0
100,2,2
100,1,1
50,2,1 100,1,1