The plugin scan posts for images. Then, it can do the followings:
- Loop display: show a thumbnail linked to the post.
- Sidebar display: it can shows thumbnails from the most recent posts or thumbnails from random posts.
All thumbnails are dynamically created when needed and then saved. So, there is no complex thumbnail management.
The nice Highslide javascript library is included in the plugin and used if desired. It adds nice expansion effect to each link/thumbnail created by post-thumb revisited.
So, Post-Thumb revisited is a thumbnail management system.
Install the plugin, and then, you can add a thumbnail display in the Loop by a simple function:
<?php the_thumb(); ?>
This will show the thumbnail of the first picture in the post for each post in the Loop.
Or you can add a list of your most recent posts represented by a thumbnail in the sidebar with:
<?php the_recent_thumbs(); ?>
Or one or more random posts in the same way:
<?php the_random_thumb(); ?>
Once you've done this, you do not have to care anymore about thumbnails!
For instance, if you want to change thumbnail size site-wide, just delete the thumbnails on your server, change the settings�done. Next time a page will be loaded, thumbnails will be updated automatically.
Images can be anywhere: anywhere on your server, on a remote server, on FlickR,...
- Unzip the file
- Upload the "post-thumb" folder to your Wordpress plugins folder.
- Activate it from the admin panel.
- Navigate to the options->post thumb and configure each option before using.
Important: You must configure the location settings correctly or it will not work.
Detailed documentation:
http://code.google.com/p/post-thumb-revisited/wiki/
Change logs:
http://code.google.com/p/post-thumb-revisited/wiki/Changelogs
Two levels of customizing
The plugin is highly configurable. You can set the parameters in the option screen for the entire site, or change them locally in any function call your theme template may contain.
A lot of settings are available to help you manage thumbnails exactly the way you want:
- Size of the thumbnails
- Save name: all thumbnails are save in a folder. You can decide what name to use, even what folder.
- Quality: quality of thumbnails can be adjusted.
- Additionnally, a sharpness mask can be applied to further improve quality.
- Rounded corners can be applied to thumbnails
- You can add text in the thumbnail
- Javascript library: in addition, Highslide JS can be used to display image or media.
With this, you can manage how your blog shows just like you wish.
Simple example
<?php echo get_recent_thumbs('altappend=first_&width=180&height=120&category=1&offset=0&limit=1'); ?>
<?php echo get_recent_thumbs('altappend=main_&width=50&height=50&category=1&offset=1&limit=6'); ?>
First line will display the first post of category 1 with a size of 180x120. The save name will
first_image.xxx.
Second line will display the 6 following posts of category 1 with a size of 50x50. The save name will
main_image.xxx.
Formatting display
Post-Thumb uses only standard html code. So, all formatting will go through css. If needed, some tags or classes can be added to the thumbnails.