Allows you to browse all images on your blog by date and/or category, with the
ability to also search image captions for keywords.
The image browser plugin has 3 places where you can specify options.
These are listed in ascending order of precedence, that is, url query
parameters override any shortcode parameters, which override default options
specified in the administration settings page.
Default options are listed below
$defaults = array(
'limit' => 30,
'cols' => 3,
'size' => 'thumbnail',
'year' => 0,
'month' => 0,
'category' => 0,
'keywords' => '',
'sortby' => 'post_date',
'sortorder' => 'DESC',
'page' => 1
);
limit – how many images to display at one time
cols – the number of columns for the image browser
size – size of picture to display. Available options:
year – retrieve images from this year
month – retrieve images from this month
category – retrieve images whose post_parent belongs to this category
keywords – Search image captions for these keywords
sortby – Field to sort by. Available options:
sortorder – Order to sort by. Available options:
page – which page to show
Here is an example shortcode to display all images from 2009 that belong to
posts with category 10
[imagebrowser year=2009 category=10]