Page 1 of 1

Lightbox plus integrated into usergallery...

Posted: Tue Feb 19, 2008 12:18 am
by fsk141
Hello,
I'm currently using the usergallery plugin: http://fsk141.com/fsk141/pages/gallery. ... /2mc/case/
and I was wondering a way that I can have the images open up in lightbox plus. I would like this so I don't have to resize my images, since lightbox plus does it automatically. I tries the lightbox plugin and it didn't work. I think this is because gallery uses javascript to open up the images. I would really appreciate any help on this, and if anyone has working code, I would love to take a look at it.
Thanks, Jonny

Posted: Wed Feb 20, 2008 8:03 am
by Linus
Hi,
I´ve done this once. Open up /plugins/serendipity_event_usergallery/plugin_usergallery.tpl
Search for the Show Thumb comment
After the comment theres a <a href...>
This is mine:
<a href="{$image.fullimage}" rel="lightbox[1]">
See in action here:
http://www.tv-philippsburg.de/index.php ... ungsfotos/
Andi

Posted: Wed Feb 20, 2008 8:14 am
by Linus
I forgot to mention that rel="lightbox[1]" enables the navigation in lightbox (by moving the cursor over the left/right side of the picture). Since I don´t know if lightbox plus supports this, you should try the simple rel="lightbox" if it won´t work.

Posted: Thu Feb 21, 2008 5:13 am
by fsk141
would you mind sending me your code at fsk141@gmail.com, I tried to get it to work, and it was resilient to be that easy. And possibly paste the correct lines into the forum?
Thanks, Jonny