We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • Interesting issue: my client uploaded images (from a digital camera) which are shown upside down on the site (page). They look fine on PC. It looks that MODX is not interpreting the EXIF rotation info the right way.

    Is there a way my client can edit/rotate images?
      • 3749
      • 24,544 Posts
      This is largely a browser issue: http://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/

      In the comments for that article, one user says that the XnView program will rotate images based on their EXIF rotation tags:

      For photos taken in portrait mode by smartphones, I often use XnView's Tools > JPEG Lossless Transformations > Rotate based on EXIF values.

      This will appear to have no effect, but will actually do the rotation and reset the EXIF orientation.
        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
      • Ok, thanks. Opening them in Photoshop does the same: it appears to have no effect, but after saving the images are fine.

        But I really cannot ask my customers to handle every single image that way. The thing is: you only see the image upside down after uploading and putting them somewhere on a page. That's really frustrating for my customers.

        I would love to see a functionality inside MODX to handle this. Wordpress handles this fine and even has a rotate function.
          • 42562
          • 1,145 Posts
          How does WordPress handle implement this functionality?

          If you are looking for File Browser that (users can use to rotate their images online) will rotate images, we have a solution.
            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.
          • I don't know how Wordpress handles them. They just appear correct on the website. I tested with some images which are upside down in MODX.

            Any solution that helps my customer would be fine. They don't mind rotating/editing themselves in MODX. As long as they see what's happening immediately and can solve it on the spot.

            What would your solution be?
              • 42562
              • 1,145 Posts
              Maybe this is what you are looking for (or not)
              https://modxcommunity.slack.com/archives/extras/p1485069640000201

              Adobe's Aviary, the powerful web image tool, can easily be plugged into MODX.

              Responsive FileManager uses Aviary.

              elFinder File Manager has its own rudimentary rotate tool

              Both managers can be used to replace the native MODX one. Both are packed with
              https://modx.com/extras/package/tinymcewrapper
                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.
              • I will look into TinyMceWrapper. But it still looks rather nerdy to implement and use.

                Right now I'm using Redaktor. Maybe they can implement a rotation tool.