Lightbox (2.05) and Gallery 2.3.1

jgatliff

Joined: 2010-09-22
Posts: 7
Posted: Mon, 2012-03-12 06:08

Hello,
I tried tonight to integrate lightbox with my gallery.

Does anyone know how to do so?

I am using a modified (by me) version of the matrix theme.

If anyone could help or point me to a tutorial, I would appreciate it.
Thank you,
Jason

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2012-03-12 06:58

There is no mystery to lytebox(s) at this point.

Simply add the required class to the thumbnail
Make sure the href of the thumb points to the actual full image and not the "image page"
I did similar in this example.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
eliz82

Joined: 2009-11-06
Posts: 71
Posted: Fri, 2012-03-16 19:58

http://codex.gallery2.org/Gallery2:Modules:Lightbox

i have made some changes to this module:
- title & summary in the picture box
- help info in the picture box
- change in positioning and size of the picture box to work better with big pictures
- new icon with info on mouseover
- new Lightbox library v2.03.3 modified by me to have keyboard navigation in Chrome & Firefox (because in original Esc/arrows keys not working correctly for both browsers)

after instalation the module, first configurate this file: gallery2/modules/lightbox/js/lightbox.js
and set the path to you icon(gif/png) files

demo:
http://www.fotonatura.ro/forum/album/eliz/animals/
press 'View in lightbox' under the thumbnails