We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25551 ☆ A M B ☆
    • 1,231 Posts
    Hey peoples,

    Is there a way to be able to upload animated GIFs and actually have them animate in MaxiGallery? I’ve upped a couple to my gallery and they do not animate so I can only assume that MG doesn’t support the animated GIF format... How easy would it be to modify MG to accommodate for animations?

    Thanks.
      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
      AugmentBLU - MODX Partner

      BLUcart - MODX Revolution E-Commerce & Shopping Cart
      • 25551 ☆ A M B ☆
      • 1,231 Posts
      Anyone?
        Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
        AugmentBLU - MODX Partner

        BLUcart - MODX Revolution E-Commerce & Shopping Cart
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Since MaxiGallery processes and modifies your images, that would only take one frame of the animation. I suppose you could manually replace the processed images with your animated ones, but that might cause problems with the metadata that was stored in the database. Worth a try; I can’t think of any other way it could work.
          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
          • 25551 ☆ A M B ☆
          • 1,231 Posts
          Hi Susan,

          Yeah I was thinking that. I have a problem with transparent PNGs losing their transparency after upload but I guess these things can’t be solved easily.

          Thanks!
            Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
            AugmentBLU - MODX Partner

            BLUcart - MODX Revolution E-Commerce & Shopping Cart
            • 7923
            • 4,213 Posts
            It’s the same thing as with the PNG issue, either replace the images manually after upload, or make sure that maxigallery saves just the original file untouched (eg. max_pic_size=`0` and no picture modifications) and use phx:phpThumb modifier in the maxigallery templates to do image modifying. phpThumb can handle animated gifs too, but I think it depends on the server environment. Google to the phpThumb home site and see it’s demo page for more info.


              "He can have a lollipop any time he wants to. That's what it means to be a programmer."