We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38318
    • 128 Posts
    I've created a gallery which works really well. But some of the images a user uploads are appearing upside down or it's rotating portrait to landscape. Is their a plugin or a way so that the user can rotate the image to the correct orientation without having to edit outside of MODX?
      • 17301
      • 932 Posts
      Not that I'm personally aware. You can use pthumb to rotate images before they're being rendered but obviously doing that would rotate all images.
        ■ email: [email protected] | ■ website: https://alienbuild.uk

        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
        • 33238
        • 388 Posts
        Very interesting, I've been looking for an Extra that rotate the images to answer this question but can't find it.
        I never had this problem with my clients, I think is not a common problem, may be you should explain how to rotate the images with the windows/mac images viewer before they upload it. tongue

        Other option might be play a little bit with the Gallery extra

        https://modx.com/extras/package/gallery

        It has many options and good things, try it and see if this Extra can help you to solve your problem.

        Cheer mate.
          --
          ysanmiguel.com
          • 38318
          • 128 Posts
          That's what I've done as I think it's going to be easier than finding a work around.

          I'm using Gallery. It doesn't need rotate every image just fix ones that are wrong. I use another CMS for another website and that allows you edit within the file manager, something similar would be great.
            • 3749
            • 24,544 Posts
            This probably won't help, but if insert the images in NewsPublisher, or TinymceWrapper, you can rotate them in the built-in image editor. I don't think this will permanently rotate the image in the file, but I could be wrong.

            MoreGallery has a feature to automatically rotate images to the right orientation on upload, but I haven't tested it.

              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 42562
              • 1,145 Posts
              I am currently using elFinderWrapper 1.0 (not public yet) that does all you seek and much more.
              The Extra is supposed to be a drop-in replacement for MODX browser.

              It includes a powerful autoRotate plugin. And of course you can manually and permanently manipulate any image. (resize, crop, rotate, touchup etc)

              Oh, there is a connection to pixlr editor for more enhanced off-the-chart edits.
                TinymceWrapper: Complete back/frontend content solution.
                Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
                5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.