Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
$GLOBALS['plogger_level']="collection";
$GLOBALS['plogger_id']="2"; //ID of the Album
$GLOBALS['available_albums']="4";
$GLOBALS['album_counter']="0";
plogger_init_albums(array(
'from' => 0,
'limit' => 4,
'collection_id' => 2, //ID of the album
'sortby' => !empty($config['album_sortby']) ? $config['album_sortby'] : 'id',
'sortdir' => !empty($config['album_sortdir']) ? $config['album_sortdir'] : 'DESC'));
if (plogger_has_albums()) {
while (plogger_has_albums()){
plogger_load_album();
$num_pictures = plogger_album_picture_count();
print '<a href="' . plogger_get_album_url() . '">';
$desc = plogger_get_album_description();
print '<img src="'.plogger_get_album_thumb().'" title="'.$desc.'" alt="'.$desc.'" /></a>';
}
}
else {
print "No pictures in this collection!";
}
1 to 4 of 4