January 2, 2012 at 10:34 pm #7921January 4, 2012 at 4:25 am #59693
this is rather strange, normally the prettyphoto window will indeed open with a new “url” – but once this window is closed the user returns to the page he started from. For example here: http://www.kriesi.at/themes/abundance/shop/classic-silver-ring/. You go through the images and once closed you return to the normal page.
Am I missing something? Could you link to your page?January 4, 2012 at 9:07 pm #59694
Thanks for the reply. I discovered yesterday that it doesn’t happen in IE 8 or 9, but it does happen in Firefox 8.0.1, Safari 5.1.1, and Chrome 16.0.912.63. All on Windows 7.
An example would be: http://talinkaandcompany.com/product/babylon-necklace
It would be really great if there was a fix for this problem. Otherwise, it’s really unusable.
AJanuary 5, 2012 at 9:45 am #59695
This is the standard prettyphoto behaviour – i.e. see the demo page here: http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/ – I’ll ask Kriesi to look into it. It shouldn’t affect your users anyway because all links are fully functional. The lightbox just adds an anker to the url.January 5, 2012 at 8:20 pm #59696
Thanks, that would be great. Unfortunately, I’ve put a ton of time into customizing this theme for a client, only to discover this problem late in development. I really like how the lightbox works, but the site really needs to function properly using just the back button. Most internet browsers/shoppers are going to use it instead of the actual link back to the category.
AJanuary 5, 2012 at 9:41 pm #59697
I just resolved the issue. After reading the documentation for prettyphoto, I saw that they did this on purpose to allow people to share the individual photos more easily by having a unique URL for each photo. By setting the deeplinking feature to false in prettyphoto.js, it will no longer produce unique URL’s. However, when you click the close button, it still creates one unique URL, so the user still has to push the back button twice. To fix that, I removed the text #!prettyPhoto from line 80 and presto, it’s fixed in current browsers.
1. Set deeplinking to false
2. Remove the text, #!prettyPhoto on line 80January 5, 2012 at 9:43 pm #59698
One more thing, I also updated to the latest version of prettyphoto before making these changes. Hopefully this will help out anyone else with this issue :)January 6, 2012 at 9:05 am #59699
The topic ‘Lightbox link issues’ is closed to new replies.