• Resolved jaapveenstra

    (@jaapveenstra)


    Hi,
    Since yesterday the Google albums don’t work anymore. i do see the albums and ‘first’ picture. But clicking it should open the lightbox, but nothing happens…

    Here’s my shortcode: [gallery type='google' view='albums' access='all' title_position='hover-slideup-show' main_size='1600' popup='hide' load_mode='php' layout_engine='css' layout='random']

    Can anyone help?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    You have a JavaScript error coming from one of your plugins – the error is showing up from RocketLoader, but I think it is because of one of your other plugins, for which you combined the scripts in RocketLoader.

    Thread Starter jaapveenstra

    (@jaapveenstra)

    Thanks for your response. I’ve deactivated all plugins, but still no lightbox… What else could be the problem?

    Theme: native church (up to date)
    Plugins:
    – rev slider (up to date)
    – NativeChurch Core (up to date)

    All the other plugins (contactform7, classic editor, GA google analytics) are deactivated

    Plugin Author Sayontan Sinha

    (@sayontan)

    Thread Starter jaapveenstra

    (@jaapveenstra)

    We’ve disabled the rocketloader. But still nog lightbox…

    Plugin Author Sayontan Sinha

    (@sayontan)

    You still have problems with your page markup:

    <script><!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-65655300-1"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'UA-65655300-1');
    </script></script>

    I don’t know if this is something you put in yourself or some plugin did it for you, but the above definition is wrong. In the first line you have <script>, and in the second line you again have <script ...>, and again you have <script> in the third line. This is incorrect markup – <script> cannot have nested <script> declarations. Your markup should be this:

    <script><!-- Global site tag (gtag.js) - Google Analytics -->
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'UA-65655300-1');
    </script>

    … or it should be this:
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-65655300-1"></script>

    Plugin Author Sayontan Sinha

    (@sayontan)

    I also see another problem – you seem to have disabled Photonic’s lightbox. You probably selected Photonic → Settings → Generic Options → Generic Settings → Don’t include third-party lightbox scripts. Are you including the BaguetteBox script from some other source? If not, you should de-select this setting.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Suddenly no lightbox’ is closed to new replies.