Sometimes You Just Have to Code It Yourself
by Derrick Story
I just posted a new photo assignment gallery from my virtual camera club, and doing so reminded me that sometimes you just have to add a little code yourself to create the features you want in Aperture's web gallery. I use Aperture to create these assignment pages, and just love the functionality it provides... most of the time.
For example, when you click on any of the thumbnails in the gallery, the "view" page displays a bounty of metadata about the photo. All of that data is pulled from the Aperture library, and all I had to do was create a preset to cull the parts I wanted. This works great!
But on the Index pages I want to provide a hot link to the parent site, The Digital Story. I hadn't found a way to create that link in Aperture (althogh maybe one of you know how), so I've been coding it myself after generating the gallery.
I simply open up the index pages (such as index.html) in Text Wrangler and add the follow code to create the link:
Buy adding my own HREF link to the Digital Story, I was able to provide a path back to the original site from the web gallery. Fortunately, most of the code that Aperture generates for its web galleries is easy to understand and alter. However, I don't understand why they still use uppercase tags.
So if you'd like to add a function or two to your Aperture galleries, consider popping the hood and writing a little HTML. And if you have tips for making those additions an easier way, please share them in the comments area.
Thanks you save me from emailing you. The inability to link back to my home page is the only reason I have not used the web gallery in Aperture much. You post will help. My hope is that in 2.0 they will fix this lack of integration
|I agree...do not place a DIV tag inside a heading tag.|
|Hey Guys, the div tag inside the heading was put there by Aperture, not by me. I just added the href :)|
|Yes - most of the Aperture HTML was well below the standard I try to meet. I've been working on a custom export template which uses Lightbox and one of the first things I did was clean up the sometimes inexplicable coding decisions.|
You can easily make your own template. See my telephoto lens test page for an example. Not only do I have a link back to my home page, but I maintain the look-and-feel of the rest of my site, including links to numerous sub-pages.