LIghtbox2 opening thumbnail

cpagett

Joined: 2009-09-09
Posts: 1
Posted: Wed, 2009-09-09 15:49

Hi
I have an embedded gallery2 in Drupal 6 and have added lightbox2 to the gallery. I have been trying to figure out how to get the lightbox to open the original image rather than the thumbnail when clicking on a thumbnail. I have read other posts that involve changing album.tpl and theme.inc but I find them very confusing and so far have not worked. Can someone help me to fix this issue?

Thanks
Catherine

Login or register to post comments
lvthunder

Joined: 2003-09-12
Posts: 795
Posted: Tue, 2009-10-20 16:39

I have this working with my greypop theme. So you can download it and see how I did it or just modify that theme instead of whatever theme you're using. The tricky part with lightbox2 and Drupal is the javascript libraries lightbox2 uses conflicts with jQuery which Drupal uses. So in the greypop theme there are modified version of those libraries that don't conflict.

Login or register to post comments