We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28955
    • 5 Posts
    Hi!
    I’m wondering how I could do that:
    renaming images and not breaking the links in the related documents? Is there a way to do this?
    Didn’t find anything about this topic here or somewhere else, but it should be a rather common problem. E.g. when you do some SEO.

    Hope, someone can give me a hint smiley

    Greetings, Susanne
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      If you’ve create links with <img> tags, there’s nothing you can do except go through and edit all the tags. Using the Rich Text editor’s image insertion button helps somewhat.
        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
        • 6437
        • 157 Posts
        Modx is missing any type of image / document library functionality sadly - everything is flat files so manual editing is the only method at the moment. As Susan mentions, WYSIWYG editors can make this easier.
          • 28955
          • 5 Posts
          thanks to Susan for the fast answer! I suspected already that I have to do that manually :-(
          Unfortunately I can choose between two "issue packs" in modx: with revo 2.1.1 the file browser does not work correctly. With revo 2.1.2 file browser works fine, but... save button loops, getResources does not work, frontpage neither... and thats just the little bit I tested yesterday before I put myself before TV screen, crying and eating chocolate cake... :-(
          I’m really doubting about modx at the moment. It should be a tool for me and not a play-cry-ground.

          Susanne
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            That is why I use Evo.
              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
              • 28955
              • 5 Posts
              too late for me! Did already the most of the work for a customers website on revo...

              going back to eat more chocolate cake ;-)

              Susanne
                • 9995
                • 1,613 Posts
                same here, i still use evo atm for 99% of my sites, rev is getting there but still some issues.

                enjoy your meal lipsrsealed
                  Evolution user, I like the back-end speed and simplicity smiley
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  :’( :’( No cake for me; 15 kilos to go.
                    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
                    • 28955
                    • 5 Posts
                    Oh, ok, now I know why you’re using modx evo ;-) no need for cake, hmm?
                    Wish you good luck for the weight loss and don’t forget: eating the right things is better than not enough eating.

                    *wink*

                    Susanne
                      • 34127
                      • 135 Posts
                      I came across this problem awhile ago - many of the articles/guides on my site reuse images which are used in other resources, and when one image is updated, all resources which use that image really need to be updated with the new filename/dimensions. I ended up creating a simple "imageUpdater" component/snippet to take care of this for me. It takes an "original src" and allows you to enter a new src, alt, class, and style. It also can "autodetect" dimensions, or allows you to enter specific height/width. It updates all matching <img> elements, based on the "original src". If you’re interested, I can post it here. smiley