Tuesday, October 23, 2007

Not so Simple Scroll Gallery (Updated)

I've been super naughty, staying up late, learning more about XSLT galleries than I care for. And for what? Well not just a bug fixed version of Scroll 0.1.3, but a new version 0.1.5 0.1.7 which includes the ability to change the gap between images. I've fixed the annoying unmentioned bug where the gallery is too big to fit across any size page (mixing 20px padding with 100% width-Doh!). 0.1.7 adds a cool menu bar (well it was there in 0.1.6, but that was seen only by a very small handful!)

However the big feature is something loads of people have asked for in a gallery... a Menu system...

Yep, that's right, I've 5 menu places to add in your page links. I tried to do this before, but failed miserably. Just this time round I was in the zone a bit after figuring out more XSLT and got it to work.

Anyhow:

Updated for 0.1.7: Sample Gallery

Download

0.1.7 also features more commented out code to fix height issues with landscape only height galleries. I've also fixed where '3rd Link' should've read 3rd Page Name and put the link/name fields in the same box to tidy it up.
Big shout to Mark Sirota for his suggestions and bug testing on this.
Finally. If you want to add more menu items, I've included comments in the code on what to cut and paste. Remember to change where it says fifth to sixth with the pasted info and all will be fine. The comments are in both galleryMaker.xml and transformer.xslt.



If you use this gallery, please put a link to a sample gallery in the comments!

To install the gallery, you need to go to User/Library/Application Support/Adobe/Lightroom, (On XP got o C:\Documents and Settings\User\Application Data\Lightroom -Note that Application Data is a hidden folder, on Vista C:\Users\User\AppData\Roaming\Adobe\Lightroom\ ) where User is the name you log in with. Look for a folder called Web Galleries within. If it's not there, create it yourself. Unzip the file into this folder and restart Lightroom.
The new Gallery will apppear in the Right Hand Panel, in the Galleries Pane.

I recommend that you create an alias/shortcut to this Lightroom folder for future use.

29 Comments:

Post a Comment



<< Home