We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 45105
    • 36 Posts
    Hello,

    I have been playing around with the Gallery extra and have managed to get it list out albums on a page which is good, but now it shows broken images after I upload images to an album both in MODX and the front end. Screen shot attached.

    I can't work out why it is doing this. Any Ideas?

    Many Thanks
    John
      • 42046
      • 436 Posts
      Are there any errors is the log relating to GD or Imagemagik?
        • 45105
        • 36 Posts
        Hello, No. I did wonder if the path to the image had been changed, so made sure that was right. So now it partially works but when I click on an image to enlarge it in the front end of the site, sometimes it is still showing a broken image, but the thumb image is OK.

          • 42046
          • 436 Posts
          What are the paths being generated in the frontend html and do those images actually exist in the /assets/gallery/ folders?

          If they don't exist are the images being generated somewhere else?
            • 45105
            • 36 Posts
            I think I've sorted it. Looks like the images themselves were too big. Reduced the size and it works fine.
              • 45105
              • 36 Posts
              I think I've sorted it. Looks like the images themselves were too big. Reduced the size and it works fine.
                • 42046
                • 436 Posts
                Glad it's working.

                Check the post_max_size in the server settings. Sometimes it can be set as low as 1mb but can be overridden with php.ini [ed. note: absent42 last edited this post 13 years ago.]