How to display jQuery Lightbox anywhere in the page?
spasmody - October 3, 2007 - 14:42
| Project: | jQuery Lightbox |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hello,
Congratulations for this amazing project.
I'd like to dispaly jQuery Lightbox anywhere in the page (the sidebar in my case)
How to overrride the theme and to manage images directly within page.tlp.php?
Thanks

#1
As long as you do not use one of the supported integration modules (see README), you have to add
rel="lightbox[foo]"to a surrounding link of each image.Example:
Before:
<a href="bar"><img src="foo.jpg" /></a>After:
<a rel="lightbox[baz]" href="bar"><img src="foo.jpg" /></a>...whereas you can omit
[baz]to display only one image instead of a gallery or changebazto whatever gallery name you like to.#2
I guess this is fixed.
Feel free to re-open this issue.
#3