0
votes

When I open my gallery page, and click on an image, after the lightbox opens and closes, I notice ... /gallery/#prettyphoto then appears in my url.

I looked in the general prettyphoto.js file and found something called deeplinking: true. So I changed this to false, saved file and went back to my site, but this does not seem to have any made any change and the #prettyphoto still shows at the end. It would be nice if first, I could remove pretyphoto words, and better still for it to show the name of each image each time a photo opens in lightbox. I am novice with .js (and php), so I just need some code direction and which file I need to change for this to work. I wonder what that deeplinking true or false does? thank you

1

1 Answers

0
votes

prettyPhoto

If you're setting the deeplinking option correctly, it should prevent prettyPhoto from altering the URL.

$(document).ready(function(){
        $("a[rel^='prettyPhoto']").prettyPhoto({
            deeplinking: false,
            social_tools: false
        });
    });