![]() |
|
(invisible) links to pictures before and after the actual album page - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: (invisible) links to pictures before and after the actual album page (/thread-9554.html) |
(invisible) links to pictures before and after the actual album page - Wete - 2012-01-31 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. Greetings! (invisible) links to pictures before and after the actual album page - acrylian - 2012-01-31 To have any "box" script to show all images you have to invisibly generate a list of all the images you wish to show. This is how the Slideshow plugin in Colorbox mode does it. (invisible) links to pictures before and after the actual album page - Wete - 2012-01-31 Yeah, this was exactly my question. Now I only need the answer. (Images on previous pages, images on next pages ...) ;-) (invisible) links to pictures before and after the actual album page - acrylian - 2012-01-31 Ahm, you answered yourself. Use the (invisible) links to pictures before and after the actual album page - Wete - 2012-01-31 Example: The album contains 50 images, 12 thumbnails are shown on each page -> 5 pages. On Page 1 there are thumbnails 1-12, so I need the (invisible) links to image 13-50. On page 2 the thumbs 13-24 are displayed, so I need links to 1-12 and 25-50 and so on ... I wondered if there are functions for this task. Wete (invisible) links to pictures before and after the actual album page - acrylian - 2012-01-31 I don't understand. Do you want to show all images via a lightbox popup or not? If you don't need pagination, right? Again, if you use the method noted above with the right parameter set you get all images without pagination. Then print a invisible list of the links to the image and attach the gallery attributes fancy box (which I don't know) needs. Colorbox uses a del attribute for that. (invisible) links to pictures before and after the actual album page - Wete - 2012-01-31 I'd like to have the normal album-pages (album.php). But when you klick on a thumbnail, $box (e.h. fancybox) should be open - not image.php. Therefore I need the invisible links additionaly to the thumbnails. And I'd like to have the usual pagination for the album.php, because I do not want to show more than x thumbs per page (e.g. 12). Page 1: no invisible links / 12 thumbs / 38 inv. links Wete (invisible) links to pictures before and after the actual album page - acrylian - 2012-01-31 http://www.zenphoto.org/documentation/classes/Album.html#methodgetImages (invisible) links to pictures before and after the actual album page - Wete - 2012-02-01 Aaaah, perfect! Thx! (invisible) links to pictures before and after the actual album page - acrylian - 2012-02-01 Exactly, now you got it..;-) (invisible) links to pictures before and after the actual album page - Wete - 2012-02-02 It works! (invisible) links to pictures before and after the actual album page - Wete - 2012-02-02 Problem: ` ` (invisible) links to pictures before and after the actual album page - Wete - 2012-02-02 VERY dirty workaround:
(invisible) links to pictures before and after the actual album page - acrylian - 2012-02-02 Did you even look at our documentation, especially the object model tutorial?
(invisible) links to pictures before and after the actual album page - Wete - 2012-02-02 Hm, looks as I have to read and learn ... sigh (invisible) links to pictures before and after the actual album page - acrylian - 2012-02-02 A little..;-) (invisible) links to pictures before and after the actual album page - Wete - 2012-02-03 I learned! ` ` (invisible) links to pictures before and after the actual album page - acrylian - 2012-02-03 Great..:-) Two notes: The gallery object is always available on theme scripts in (invisible) links to pictures before and after the actual album page - Wete - 2012-02-03 One additional question: Is it possible to use Wete (invisible) links to pictures before and after the actual album page - acrylian - 2012-02-03 Even easier. Just add a simple count to your loop. |