All images in a lightbox????

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: All images in a lightbox????

Post by flip-flop »

Hi,

if you are using several image CPs there is no integrated solution to do so.

But you can write a /frontend_render/ snippet to solve your problem.

If all images exists in an article during CP pagination (I don´t know this) please have a look to:

LightBox is controlling the image-set by using the rel statement rel [XXX].
All image with the same statement are in the same set and you will see the Next/Prev buttons.
E.g.:
......f9649fc.jpg" title="Rad01-2" rel="lightbox[3j56d]"><img src="content/images/082cfdb7.....
......f36afb3.jpg" title="Rad01-3" rel="lightbox[3j56d]"><img src="content/images/edda434 .....

Without Next/Prev buttons, every image will be oben image by image.
......f9649fc.jpg" title="Rad01-2" rel="lightbox[5kh32]"><img src="content/images/082cfdb7.....
......f36afb3.jpg" title="Rad01-3" rel="lightbox[3j56d]"><img src="content/images/edda434 .....

Write a frontend_render script and trigger for rel="lightbox[?????]" and set all to e.g. rel="lightbox[xxx]".

[EDIT]
I think it will not function. The paginated CP group does not form a unit.
[/EDIT]

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply