Hi!
I was just dealing around with a lightbox functionality in my gallery and I came up to the problem which was already discussed in the forum:
if a gallery has pagination there will be the problem that lightbox only shows the pictures on the choosen page, then you will have to close the lightbox, choose the next page, and so on.
One thing I found was this:
http://www.zenphoto.org/support/topic.php?id=1230#post-6911This sounds like what I am searching for, but I am not sure how do bring this into the default theme...
Would again be glad for help!
Thanks a lot!
Best!
martin
Comments
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionnext_image
I really feel like a fool, but my knowledge isn't enough to deal with this.
In my album.php I have the following call of the lightbox (in this case the floatbox) instead of the image.php.
<div id="images">
<?php while (next_image(false, $firstPageImages)): ?>
<div class="image">
<div class="imagethumb">" rel="lightbox.[<?=getAlbumTitle();?>]" rev="type:img caption:`<?php echo getImageTitle(true); ?>
<?php echo getImageData('EXIFMake').' '.getImageData('EXIFModel'). ' - ' .getImageData('EXIFFocalLength'). ' - '. getImageData('EXIFFNumber').' - '.getImageData('EXIFExposureTime').' - '.getImageData('EXIFISOSpeedRatings'); ?>`" title="<?php echo getBareImageTitle();?>"><?php printImageThumb(getAnnotatedImageTitle()); ?></div>
</div>
<?php endwhile; ?>
So there is the next_image function and it is set to false (which is alright for the displaying of all the images. If I switch it to true all images are shown on the first page).
So I am really sorry but I don't know where to put the next_image (false) that only the lightbox (floatbox) will work with this and the displaying of the pictures will stay with the pagination!
Thank you very much again for your help!
Best!
martin
I only know from a different gallery that all the images of the that are not shown on the actual page are in a hidden div and so that worked.
But I am not good enough in coding to do something like that.
So I will have to be satisfied with what I have or there is somebody who can give me a helping hand.
Thx a lot!
So my last question on this is just:
Is there a possibility that someone of you, of the develloper can do this for me, of course not for free, just like a customization.
If so, I would be happy if you get in touch with me! Just give me an answer here and we can get in touch via E-Mail.
Thx!
martin
i have the same problem