We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37718
    • 1 Posts
    usernamealreadytakenpleasechooseanother Reply #1, 14 years, 11 months ago
    Hello, I've just installed the latest version of modx and I tried to add an image to a (or as a) resource but I couldn't get it done. I also didn't find anything on the internet - I must be blind - Help appreciated. tongue
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Adding an image can be done in several ways, depending on exactly what you want to do.

      If you just want an image in the content, then in the Resource editing field (I presume you are using the Rich Text Editor for editing the resource's content field) use the Insert Image button in the RTE's menu bar. This should open a resource browser window opened to the site's default image folder. You can upload a new image or select an existing one. If you upload an image, you'll need to click on its thumbnail in the resource browser window to insert it into your MODx resource's content.

      If you're not using the RTE, just put the usual HTML image tags; make sure the src attribute is correct just as is the case with any HTML image.
        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