Options

Semi-automated gallery menu with thumbs

technocrafttechnocraft Registered Users Posts: 108 Major grins
I post a lot of "event" galleries with several hundred pictures each. In order to make it easy for my users to find what they are looking, I create a menu in the gallery description that links to the first image for each routine/section within the gallery. My images are captioned before uploading, so smugmug picks up the caption and displays it as my preference.

Smugmug has an incredibly cool gallery linking setup, so I can create links to the first image for each routine that work within the gallery, externally, etc. After creating these menus by hand a few times, I wished I could script it...

Finally, thanks to the CFsmug api wrapper I found (kudos!), I was able to whip up a script to do the following:

1. get all image info for an album
2. get the first instance of each caption and create a link
3. get the thumbnail image source and use that in the link

Add a bit of CSS to have the image display on mouseover and poof! Wicked-cool gallerly menu.

My image thumbnails could probably be implemented better, but it's working for me so far. Any comments or improvements are welcome.

Here is an example gallery:

http://images.tonyschreiber.com/gallery/4267399
-Tony
http://images.tonyschreiber.com
(technocraft.smugmug.com)
Sign In or Register to comment.