Plugin Directory

Ordered Thumbnails

Display a thumbnail based on post images with no additional uploads. For multiple image posts, thumbnail respects Gallery sort order.

Download Version 1.0

Ordered Thumbnails is a WordPress plugin that allows you to display thumbnails based on images that have been attached to a post. This plugin also allows you to specify which thumbnail appears next to a post with multiple images by ordering the thumbnails in the Gallery tab of the WordPress "Add Images" lightbox and placing the thumbnail desired in the first position.

To style how the thumbnail appears on your page, you may pass optional CSS class names to the plugin, which will then be applied to the <img> tag returned. Alternately, by setting the display parameter to "false", Ordered Thumbnails will return the thumbnail URL, height, and width as a PHP array to be used however you see fit. If no images have been attached to a post, the plugin fails gracefully and returns "false". This plugin will work anywhere the WordPress posts loop is used and works particularly nice in combination with the_excerpt for archive pages.

Author: smekosh

Requires: 2.5 or higher
Compatible up to: 2.9.2
Last Updated: 2009-6-23 Downloads: 2,922

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(8 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

100,1,1
100,1,1
100,1,1
100,1,1