We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40122
    • 330 Posts
    I just upgraded a site from 1.0.5 to 1.0.12 and am having troubles with images. It seems that now when I save a resource, ModX or TinyMCE places the name of the resource in the path for whatever images I have in that resource.

    So, formally, my image paths looked like:

    www.mysite.com/assets/images/photo.jpg
    


    but now they look like:

    www.mysite.com/page-name/assets/images/photo.jpg
    


    This has broken all the images on my site. Further more, adding a new image or finding the old ones via the file browser doesnt work either. It just inserts them with the proper path, but updates them with the new path upon save, having the same effect.

    Does anyone know what I can do to solve this?
      • 9995
      • 1,613 Posts
      Never had that befor, did you check your .htaccess ?
        Evolution user, I like the back-end speed and simplicity smiley
      • Hi, do you have the Friendly Alias Path setting set to 'on'? If you do and you want to use alias paths, make sure you include a <base> tag in your template to ensure all your links are relative to the site URL. Otherwise, just change that setting and see if that corrects the issue.
          Garry Nutting
          Senior Developer
          MODX, LLC

          Email: [email protected]
          Twitter: @garryn
          Web: modx.com
        • Is MODX installed in a subfolder of the webroot? Is it installed on Apache or IIS?