Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #7921

    Hello, I have a question about the lightbox/prettyphoto option for products. When I setup a product with the lightbox option, everything works fine when you click the images. But when the lightbox is closed, the user has to click the back button several times to go back to the product category. Every image viewed in the lightbox creates a new url, so getting back to the product category is inconvenient. Is there any way to change that?

    Thanks,

    A

    #59693

    Hey,

    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?

    #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.

    Thanks,

    A

    #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.

    #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.

    Thanks,

    A

    #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 80

    #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 :)

    #59699

    Glad that you found a solution. I’m sure it will help other users too.

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Lightbox link issues’ is closed to new replies.