We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3435
    • 37 Posts
    I’ve been trying to work out why my picture is not showing within the gallery on my page, but haven’t managed to get to the bottom of the problem.

    I think I have a similar problem to what was described on this thread: http://modxcms.com/forums/index.php?topic=36387.0 but I am not using search in ajaxsearch mode.

    I have successfully added smooth gallery to another site, and have checked the snippet calls and maxigallery css against that site, and still can’t work out why the images are not showing. The main difference between the sites is that I’m using weblogin and ditto on the page where the smoothgallery should display - could this be causing a conflict? The gallery pages are meant to be restricted to members only, but I have temporarily made them public, though still no joy in displaying the pictures.

    Could anyone advise please?

    Example URL: http://www.dawlishswimmingclub.co.uk/gala-2
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Try putting the gallery in a page with no other snippets of any kind (in a test template if necessary to get a completely "clean" page) and see if it works there.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 3435
        • 37 Posts
        Thank you for this advice. I have done as you suggested, but even on using a template which only includes the maxigallery snippet and no others, the picture is still not showing.

        Does this indicate that there’s a clash in the css? If so, are there any pointers as to what this could be?

        Thanks
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          All I can suggest it to try it without any other css (the page will look awful, but the gallery should be styled from its own stylesheet)
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 3435
            • 37 Posts
            Thank you again for the advice. I have reinstalled maxi gallery, which has resolved the problem.
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Ah, an excellent option cool cool
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 3435
                • 37 Posts
                Unfortunately however, the problem has resurfaced huh

                I created a new gallery, uploaded some test images to it, and all was fine. However, when the club’s content editor deleted the test images from the gallery and uploaded a different picture, it refused to display.

                I then created a new gallery, added pictures, which displayed, deleted and replaced them, and nothing shows up.

                I then created a third test gallery, this time the image did not show from the start.

                I am using the same maxigallery call on all the galleries, which all have the same parent:
                [!MaxiGallery? &display=`embedded` &embedtype=`smoothgallery` &max_pic_size=`400` &thumb_use_watermark=`1` &thumb_watermark_txt=`watermark goes here` &pic_use_watermark=`1` &pic_watermark_img=`assets/images/background/watermark.png` &pic_watermark_type=`image`!]

                Very confused!