PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Images
  4. WP Get Post Image
WP Get Post Image icon

WP Get Post Image

Adds the function wp_get_post_image(), giving theme builders easy access to images associated with a post or page.

By thewebist·Images·Free
00
·100 active installs·Updated 15 years ago
DownloadVisit HomepageCompare

As of April 2026, WP Get Post Image is a WordPress images plugin with 100 active installations and a 0/5 rating0. It has been downloaded 10K+ times in total. Requires WordPress 2.8.4+ and PHP false+. Available on WordPress.org since 2009. Last updated 15 years ago — may have compatibility concerns. Top alternative: Autoptimize.

0/5Rating
100active installs
10K+total downloads
17 yearssince 2009

Overview

This plugin provides the template tag wp_get_post_image(). Use it to call dynamically created images uploaded via the WordPress media uploader.

NOTE: This plugin is intended for use by WordPress developers and theme builders only.

Usage

<?php wp_get_post_image($args); ?>

Default Usage

<?php $args = array(
    'width' => null,
    'height' => null,
    'css' => '',
    'parent_id' => '',
    'post_id' => '',
    'filename' => '',
    'return_html' => true       
); ?>

By default, the function returns:

  • The last uploaded image wrapped in an image tag (<img />).
  • A proportionately sized image with a width no greater than 200px.
  • The CSS class wp-image-*ID* and no other classes.
  • If you add thickbox via css, the appropriate anchor <a> tag will be ad…
Read full description on WordPress.org

Ratings & Reviews

00 reviews
5 ★
0
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress2.8.4+ requiredTested up to 3.0.5
PHPfalse+ required

Top Alternatives to WP Get Post Image

Autoptimize icon
Autoptimize
4.7900K+ installsUpdated 3 weeks ago
ViewCompare
WebP Express icon
WebP Express
4.4300K+ installsUpdated 2 months ago
ViewCompare
Modern Image Formats icon
Modern Image Formats
3.3100K+ installsUpdated 2 months ago
ViewCompare
Lightbox &amp; Modal Popup WordPress Plugin &#8211; FooBox icon
Lightbox & Modal Popup WordPress Plugin…
3.9100K+ installsUpdated 2 months ago
ViewCompare
Responsive Lightbox &amp; Gallery icon
Responsive Lightbox & Gallery
4.9100K+ installsUpdated 3 weeks ago
ViewCompare
View all images plugins →

Frequently Asked Questions

Changelog

0.2 (2010-01-26)

  • Adjusted $image->basepath to reference get_bloginfo('wpurl') instead of get_bloginfo('url'). This makes the plugin work when WordPress is installed in one directory while the blog displays in another. (HT: Mike Cohen)
View full changelog on WordPress.org

Contributors

thewebistthewebist
Plugin Info
Version
0.2
Last Updated
Jun 26, 2010
WP Requires
2.8.4+
Tested Up To
3.0.5
PHP Requires
false+
Active Installs
100
Downloads
10K+
Added
Nov 19, 2009
Business
Free

Tags

imagesfunctionpost imageattachmentstemplate tag

Developer

T
thewebist
3 plugins0.0M+ total installs
View all plugins →

Quick Compare

WP Get Post Image vs Autoptimize→WP Get Post Image vs WebP Express→WP Get Post Image vs Modern Image Formats→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.