Add "back" link to Lightroom gallery created via xslt / xml
$30-250 USD
Completed
Posted over 14 years ago
$30-250 USD
Paid on delivery
Hi there,
I am a photographer and I use Adobe Lightroom to create web galleries that clients can view and share with friends & family. I am currently adding Paypal shopping cart to the galleries via a plugin designed by Lightroom Galleries <http://www.lightroomgalleries.com/template-downloads/lrg-one-with-paypal-shopping-cart/>.
I can add the Paypal cart to the pages and it all works nicely. The gallery is set up with an [login to view URL] page with x amount of thumbnails, you click a thumbnail and get a image page with a larger photo. Most galleries span over several index pages ie there is [login to view URL], [login to view URL] etc.
However, the "back" link from each large image page always returns to the first index page (ie [login to view URL]). The reason for this is that the xslt transformer file that generates all the html pages doesnt have a logical set up for assigning the "back" link to be relevant to where the user is browsing. For example, if you were looking at the large image page number 45 of 60 you would expect to go "back" to index_3 (if there were 20 thumbs per page).
So what I am after is someone to add code to the xslt transformer file that makes this "back" link work a lot better!
I have uploaded the [login to view URL] file and here is a link to what gallery I have set up for now: [login to view URL]
The code to work on is the section where the foreach runs to create an HTML page for each image. A simple count and logical set up to determine which index page the user would have arrived from should be relatively easy to do!
Thanks,
Darryn