Hello, I'm looking for a way to put last updated album on index page, but album will be opened, with thumbnails with printCustomSizedImage() function. Is it possibile? At this time I wrote a piece of theme for showing albums where thumbnails are integrated with the script of touching devices, sample is here:
http://mimam.net/slowacja/I am very happy with Zenphoto, it is very fast and flexible, thanks for such a great thing!
Comments
`
<?php
$latestmtimealbum = getAlbumStatistic(1, "latest-mtime");
makeAlbumCurrent($latestmtimealbum[0]);
while (next_image()): ?>
" title="<?php printBareImageTitle(); ?>">
<?php printCustomSizedImage(getAnnotatedImageTitle(), 300); ?>
<?php endwhile; ?>
`
I've found something like this, but it call thumbnail only..
<?php
$latestalbums = array(getAlbumStatistic(1, "latest"));
foreach ($latestalbums as $latestalbum) {
printAlbumStatistic(1, "latest", $latestalbum['title']);
}
?>
`
$latestmtimealbum = getAlbumStatistic(1, "latest-mtime");
echo $latestmtimealbum[0]->getTitle();
`
http://www.zenphoto.org/news/zenphotos-object-model-framework/