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 [url removed, login to view] 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 [url removed, login to view], [url removed, login to view] etc.
However, the "back" link from each large image page always returns to the first index page (ie [url removed, login to view]). 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 [url removed, login to view] file and here is a link to what gallery I have set up for now: [url removed, login to view]
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!