sigh
The whole system does not work properly in "mixed" albums because of the "wrong" number of thumbnails on the first album page. It's a pity.
But there must be a solution. ZenPhoto knows which images have to be on page 2, even if there are less then the usual quantity on page 1.
Wete
With $images = $album->getImages(0) I get a list of all images in $album. What I need are 2 lists:
No file should be listed twice, so that you can watch all images of the album in lightbox/fancybox/... in the given order and without repetitions or gaps. The first list + the set of thumbs + the second list would make such a list.
Wete
Sorry for bringing this thread up again.. I have a little problem with this piece of code from Wete's script:
$imageobject->getDefaultTitle()
Printing the title attribute for the hidden links doesn't print the string value from the database, it just prints the filename without the extension (i.e. "filename_13" instead of "Filename Thirteen"). This messes up the image presentation a bit for paginated albums. All of this is happening while it's counterpart in the visible thumb links loop
``
works just fine.. Also I would like to know if there is any way to get the image description?
(Something similar to this
``
I have tried looking here but with no succes http://www.zenphoto.org/documentation/classes/_Image.html )
Thank you very much!
Of course, you can get everything via the object model. $imageobject->getDesc(). $imageobject->getTitle(). The image class has parent classes shared with albums that provides this by inheritance (one definition for both):
http://www.zenphoto.org/news/zenphotos-object-model-framework#zenphotos-main-classes