Plugin Directory

Get the Image

An easy-to-use image script for adding things such as thumbnails and feature images.

Version 0.7

  • Deprecated and replaced functions that lacked the get_the_image_ prefix.
  • New cache delete functions that delete when a post or post meta is updated.
  • Fixed notice when image_scan was used.

Version 0.6.2

  • Updated the cache to save by post ID instead of a single object.
  • Minor code adjustments.

Version 0.6.1

  • Updated inline documentation of the code.
  • Smarter meta_key logic, which allows a single meta key or an array of keys to be used.
  • Set custom_key and default_size to null by default since they're deprecated.

Version 0.6

  • Deprecated custom_key in favor of meta_key.
  • Added the meta_key_save argument to allow users to save the image as a meta key/value pair.
  • Added a callback argument to allow developers to create a custom callback function.
  • Added a cache argument, which allows users to turn off caching.

Version 0.5

  • Added support for persistent-caching plugins.
  • Switched the default_size argument to size to be more in line with the WordPress post thumbnail arguments, but default_size will still work.
  • Now using wp_kses_hair() to extract image attributes when using the array value for format.
  • Image alt text will now use the attachment description if one has been given rather than the post title.
  • Updated the readme.html instructions for using the plugin.

Version 0.4

  • Dropped support for older versions of WordPress. Now only compatible with 2.9+.
  • Added support for the_post_thumbnail(), which is WordPress 2.9's new image functionality.
  • New function: image_by_the_post_thumbnail().
  • Documented more of the code, so the inline PHP doc is updated.
  • Cleaned up some of the old legacy code that's no longer needed.

Version 0.3.3

  • General code cleanup
  • Added the get_the_image filter hook.

Version 0.3.2

  • General code cleanup.
  • More efficient and logical code.
  • Beefed up the inline documentation so developers can better understand the code.
  • Added a GPL license.txt file.

Version 0.3.1

  • Fixed the default image and image scan features.

Version 0.3

  • Changed methods of calling the image script.
  • Added more parameters.

Requires: 3.2 or higher
Compatible up to: 3.2.1
Last Updated: 2011-4-15
Downloads: 183,932

Average Rating

4 stars
(79 ratings)

Support

1 of 1 support threads in the last three weeks have been resolved.

Got something to say? Need help?

Compatibility

+
=
Works!

4 people say it works.
1 person says 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