Quantcast
Viewing all articles
Browse latest Browse all 2917

Wete on "(invisible) links to pictures before and after the actual album page"

Hi everybody!

I'd prefer to use Fancybox instead of image.php to show the single images of an album. It's no problem to change the image links in album.php, so that I have a nice slideshow in Fancybox, but the problem is, that with this approach I only have those images, which are shown on the actual album page. Fancybox should show all images of the album - like the original slideshow of ZenPhoto.
To solve this problem, I could place invisible links (<a style="display: none">) before and after the image thumbnails that contain exactly the complement image links. The other solution would be to show ALL images of an album on one album page, what would be problematic for large albums.
There is the function $images = $album->getImages();, but is there another function which gives back "all images on previous album pages" and "all images on next album pages"?

Greetings!
Wete


Viewing all articles
Browse latest Browse all 2917