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).
- 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
Check out my website PianoMusician.nl, the plugin is used on the frontpage and every post/page.
Installation is very easy:
/wp-content/plugins/directory and activate the plugin
<?php jr_post_image($id); ?>in your theme’s
index.phpfile, that’s where the image will show up.
- Go to Settings -> Media, and change the ‘Thumbnail’ dimensions to your desired dimensions.
- 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.
- 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-imageand 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
- Fixed non-correct closure of image link
- Fixed xHTML error when using default image
- Fixed problem where only was showed when there was no image attached
- Added option to disable the post image for a specific post / page
- Fixed bug where default image won’t show up
- Fixed linking feature, now links to image in single.php and links to post in index.php
- Fixed lightbox feature
- 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
- Added post/page image list functionability
- Added Lightbox support
- Added option to skip first image
- Added admin configuration page
- First final release.