Gallery not loading

Created on 28 January 2025, 1 day ago

Problem/Motivation

Installed module and library. No errors on the status report page. It shows the library listed: Juicebox Javascript Library
Lite 1.5.1

Went to the Manage Display page for our featured media paragraph type. Changed the format to Image with Dimensions and set it to Juicebox medium.

Sizes of images on those nodes changes to match the medium style. However, no image gallery shows. Just a long list of images.

Steps to reproduce

Visit: https://celestine10.nl-sandbox.xyz/node/43

You'll see the long list of images and no image gallery.

πŸ’¬ Support request
Status

Active

Version

4.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States jsimonis

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jsimonis
  • πŸ‡ΊπŸ‡ΈUnited States fkelly

    Do you have the gallery embedded in a content type following instructions on the project page? For instance, on my sites I have created a Juicebox gallery content type. Here is what's in the view source of one of those content type items:

    <script src="/web/sites/all/libraries/juicebox/juicebox.js"></script><script>
        new juicebox({
            baseUrl : '/web/sites/default/files/jboxgalleries/greylock10/',
            containerId: 'juicebox-container',
            galleryWidth: '100%',
            galleryHeight: '110%',
            backgroundColor: '#222222'
        });
        </script>
    <div id="juicebox-container">
        &nbsp;
    </div>

    When I click on the url for that content type item (preferably from a menu) it will find a greylock10 xml file that is in the location in the baseUrl and run it through the juicebox.js program that's in the first line of the code I listed. There has to be a connection (association) between the juicebox.js file and the xml file for the gallery to "work". Otherwise you just have a list of images ... which is what it appears that you have now.

Production build 0.71.5 2024