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


    I have purchased Lightbox Evolution from Code Canyon ( I have installed the plugin and removed the prettyPhoto plugin but by default any image (including images included in my Slideshow Evolution) is included in the prettyPhoto lightbox gallery.

    I have looked on the support forums and there is some mention of modifying custom.js but for the life of me I can’t find where this file is located. I can’t find any file named custom.js in the install base.

    Please help.

    Kind regards,




    I don’t know how to implement the lightbox (you need to contact the plugin author) but I can tell you how to deactivate prettyphoto. Open up js/avia.js and delete following code:

    //activates the prettyphoto lightbox



    Thank you for the quick response, but it didn’t entirely fix it.

    It did deactivate prettyPhoto, but it seems that ALL of the images on my pages (apart from the home page) are being included in the lightbox by default. This means that when I hover over an image it dims slightly to indicate that I can click to open the lightbox.

    If I click on an image where I have explicitly called the evolution lightbox then it works exactly as it should. For all other images, which used to call up the prettyPhoto lightbox, it instead just shows the image on a (new) blank page.

    Take a look at the following link to see what I mean:


    Ok, I think I found a better approach then. Revert the change I posted above and delete following two lines instead:

    elements.prettyPhoto({ "theme": 'premium_photo', 'slideshow': 5000 }); /* facebook /light_rounded / dark_rounded / light_square / dark_square */


    Hi dude,

    I did what you said and re-included the original lines and then deleted the lines as specified, but still the behaviour is unchanged. It still invokes lightbox by default and then shows the full size image on a blank page. You can have a look at the link I supplied to you before to verify this.




    I see no reason why it doesn’t work because the activation function applies a rel attribute to all image links. However maybe the lightbox needs a direct call. You need to ask the author how the code I posted above

    elements.prettyPhoto({ "theme": 'premium_photo', 'slideshow': 5000 }); /* facebook /light_rounded / dark_rounded / light_square / dark_square */

    needs to be modified to work with his lightbox….


    I think you’re right.

    Thanks for your help, it definitely does not call prettyPhoto anymore. My problem is that the Evolution Slider allows me to click on the image which I can’t seem to turn off. I will follow it up with the author.


    Glad that I could help you :)

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

The topic ‘Replace prettyPhoto with Lightbox Evolution’ is closed to new replies.