Support » Plugin: Fullscreen Galleria » Multiple galleries on one page don't work

  • Resolved mikouak

    (@mikouak)


    I have been successfully using multiple galleries on one page on my old website running old WP and old version of FSG.
    Now I’m trying to set up a new website with the same mechanics – latest WP and FSG versions.

    Opening the first gallery on the page works fine. If I open the other ones after that, they also work fine.
    However, if I start with any other gallery then the first one, only a half-transparent black overlay is shown and that’s it.

    Uncaught TypeError: Cannot read property ‘length’ of undefined
    fsg_show_galleria @ galleria-fs.js?ver=1.5.2:137
    dispatch @ jquery.js?ver=1.12.4:3
    r.handle @ jquery.js?ver=1.12.4:3

    https://wordpress.org/plugins/fullscreen-galleria/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mikouak

    (@mikouak)

    A small follow up. This is the script generated for the problematic page:

    <script>fsg_json['fsg_group_0'] = [
    {id: 58, image: 'http://...', thumb: 'http://...', permalink: ''},
    {id: 104, image: 'http://...', thumb: 'http://...', permalink: ''}
    ];</script>
    <script>fsg_json['fsg_group_1'] = [
    ];</script>
    <script>fsg_json['fsg_group_2'] = [
    ];</script>
    Thread Starter mikouak

    (@mikouak)

    Just one of those days…
    I found the source of the problem.
    On my test page I copied the gallery shortcode with the same id values.
    THIS causes the gallery to fail. The problem disappears once you insert different ids in the includes…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple galleries on one page don't work’ is closed to new replies.