This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

JR Post Image

Description

JR Post Image is a light-weight plugin that displays an image ‘attached’ to a post in a SEO friendly way. It can be used on the frontpage of your blog, but also on a post/page, to show all images attached to the post. (All images in the post Image Gallery).

Features:

  • Makes your WordPress blog look nicer
  • SEO friendly, automatically fills in alt-tag, and image dimensions
  • Automatically uses the right image dimensions, as set in your WordPress admin panel (under Settings->Media ‘thumbnail’ size)
  • Does not slow down your blog, because the thumbnails are already generated by WordPress itself by default!
  • Very lightweight, small code
  • Images can be easily styled using CSS

Demo:
Check out my website PianoMusician.nl, the plugin is used on the frontpage and every post/page.

Screenshots

  • 'Make Link' enabled. The image links to post.
  • 'Make Link' disabled. Just the image is showed, not clickable.
  • Configuration page preview.

Installation

Installation is very easy:

  1. Upload jr-post-image.php to the /wp-content/plugins/ directory and activate the plugin
  2. Place <?php jr_post_image($id); ?> in your theme’s index.php file, that’s where the image will show up.
  3. Go to Settings -> Media, and change the ‘Thumbnail’ dimensions to your desired dimensions.
  4. Upload images to a post, you don’t have to insert them in the post itself (as long as they’re in the gallery it’s OK).

You can change additional settings under Settings -> JR Post Image.

FAQ

Will this slow down my blog?

No. WordPress generates the thumbnails by default.

How can I disable the JR Post Image for one specific post or page?

Add an custom field to the post named ‘jr_nopostimage’ with the value ‘true’ (without quotes). Then the post image won’t be showed in the post itself, it will be showed on the index page.

How can I change the image CSS style?

You can use the CSS class .jr-post-image and style the image. Soon you can also change the css class name in the configuration page.

Contributors & Developers

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

Contributors

Changelog

1.6.2

  • Fixed non-correct closure of image link

1.6.1

  • Fixed xHTML error when using default image
  • Fixed problem where only was showed when there was no image attached

1.6

  • Added option to disable the post image for a specific post / page
  • Fixed bug where default image won’t show up

1.5

  • Fixed linking feature, now links to image in single.php and links to post in index.php
  • Fixed lightbox feature

1.4

  • Fixed configuration page layout problem
  • Using array instead of vars for settings
  • Use post-title as default image alt text to use the title of the post/page

1.3

  • Added post/page image list functionability
  • Added Lightbox support
  • Added option to skip first image

1.1

  • Added admin configuration page

1.0

  • First final release.