Member
Member
martin.s   2009-01-25, 12:49
#1

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-6911

This 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

Administrator
Administrator
acrylian   2009-01-25, 13:04
#2

The next_image()function does provide that option. Please take a look at the documentation:
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionnext_image

Member
Member
martin.s   2009-01-28, 22:24
#3

Thanks for your answer!

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.

                            " rel="lightbox.[]" rev="type:img caption:`

`" title="">

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

Administrator
Administrator
acrylian   2009-01-29, 09:59
#4

Sorry, that is not possible, there can be only one next_image() loop per page. You have to decide if you either want pagination or all images in the lightbox (or probably have to do some coding yourself)

Member
Member
martin.s   2009-01-29, 15:20
#5

Alright I got it. That's quite sad, I misunderstood that.
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!

Member
Member
martin.s   2009-01-30, 12:32
#6

I tried the whole night, but I didn't get it into a working path.

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

Member
Member
Free Mp3   2009-04-24, 22:23
#7

me too
i have the same problem

Member
Member
Wandbilder   2009-07-27, 10:14
#8

I am stuck with this, too. Can anyone help?

Administrator
Administrator
acrylian   2009-07-27, 10:17
#9

You should take a look at the class methods to get all image directly (see the documentation).

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.