Latest thumbs in album

Hi,

I want to show five latest pictures (thumb) from every album at my gallery first page.

This is now:

[code]
<?php printAlbumTitle(); ?> - <? $number = getNumImages(); if ($number != 1) $number .= " pictures"; else $number .=" picture"; echo$number; ?>
<div class="album">
" title="Album: <?php echo getAlbumTitle();?>">
<?php printAlbumThumbImage(getAlbumTitle()); ?><?php printAlbumThumbImage(getAlbumTitle()); ?><?php printAlbumThumbImage(getAlbumTitle()); ?><?php printAlbumThumbImage(getAlbumTitle()); ?>

</div>
[/code]

Whit that code I get five thumbs of same picture. How do I get thumbs of five latest pictures in album?
Sign In or Register to comment.