Hello,
I'm using some of the Zenphoto functions to embed features into my existing webpages. Basically, this is what I'm doing so far:
zp_load_gallery();
zp_load_album('test');
while(next_image(true)) {
print('<img src="' . getImageThumb(getImageTitle()) . '">');
}
This works fine for displaying every thumbnail of the album on a single page. However, I just don't understand how to seperate this "display as one page" into multiple pages showing e.g. 5 thumbs per page.
I tried modifying the above to:
$i = normalizeColumns('1','5')
while(next_image(false, $i)) {
print('<img src="' . getImageThumb(getImageTitle()) . '">');
}
But the only effect is that no thumbs are displayed at all. Could someone assist me?
Robert