Prettyphoto not working - by Jeff Margel

This topic has 10 replies, 3 voices, and was last updated 4 years, 9 months ago ago by Rose Tyler

  • Avatar: Jeff_Margel
    Jeff Margel
    Participant
    June 11, 2019 at 16:46

    Created a single image and set the option to open in PrettyPhoto, however when clicking on it, it just opens the photo in the browser, not in the PrettyPhoto box. Any advice?

    9 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 11, 2019 at 16:57

    Hello,

    Provide link to page with this element and temporary Dashboard and FTP access to your site to check the problem in more details because we don’ have this issue on our test installations.

    Regards

    Avatar: Jeff_Margel
    Jeff Margel
    Participant
    June 11, 2019 at 18:33

    Sent you a PM on here with the information you needed. Please let me know when you get to check it out.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 12, 2019 at 08:19

    Hello,

    The problem is caused by Business Template Blocks for WPBakery Page Builder plugin. It gives js errors in the console – https://prnt.sc/o0ruqc Contact the plugin authors to get help.

    Regards

    Avatar: Jeff_Margel
    Jeff Margel
    Participant
    June 12, 2019 at 12:43

    Thank you. Is there a way to disable PrettyPhoto then so I can use another lightbox? I know there are other themes that use WPBakery and it’s working fine..

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 12, 2019 at 12:55

    Theme Options > Single product page > Enable Lightbox for Product Images > Off.

    Regards

    Avatar: Jeff_Margel
    Jeff Margel
    Participant
    June 12, 2019 at 13:32

    I disabled prettyphoto but the lightbox plugin still won’t work. Very frustrating..

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 12, 2019 at 15:44

    Hello,

    Sorry, seems Rose misunderstood you.

    You reported that PrettyPhoto lightbox does not work. You got the answer that problem is caused by js error of the third-party plugin – Business Template Blocks for WPBakery Page Builder. That js error breaks the other scripts including PrettyPhoto and it’s not related to our theme because it does not work even with default theme https://gyazo.com/360c2b45bb60eabd6340985216c60af5

    To solve the problem you need to contact plugin support and ask them to fix js errors or disable the plugin and then lightbox option also will work ok.

    If you don’t want to use lightbox then disable on-click action for the image http://prntscr.com/o0xzk1 but it does not fix the js error and you will have problems with other scripts till fix the main js error caused by third-party plugin. Got it?

    Regards

    Avatar: Jeff_Margel
    Jeff Margel
    Participant
    June 12, 2019 at 18:05

    Thank you for the reply.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 13, 2019 at 06:52

    Hello,

    You’re welcome!

    Regards

  • Viewing 10 results - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.