1 Reply Latest reply: Jan 28, 2014 9:19 AM by Jon Fritz II RSS

    Dreamweaver CSS Mac writes image links wrong... <img src="/www/images/asian_sales_office.jpg"

    BruceOrcutt Community Member

      Dreamweaver CSS Mac writes image links wrong... <img src="/www/images/asian_sales_office.jpg" width="x" height="x" alt="x"> Took me a bit to find this, now back to hand coding all image links and also checking other code. Any fixes?

        • 1. Re: Dreamweaver CSS Mac writes image links wrong... <img src="/www/images/asian_sales_office.jpg"
          Jon Fritz II CommunityMVP

          That looks to me like you may have your site definition set up incorrectly and you appear to be using "Site Root Relative" vs "Document Relative"

           

          Go to Site > Manage Sites > click the  site you are working on > Click the Edit icon > Advanced Settings > Links relative to: should be set as Document, unless you have a very specific reason for choosing Site Root there

           

          If your server root folder is called www, you'll need to remove that folder from your site root. You are only transferring files from root to root, so the name of your local root folder is not important (the files inside it go to the server root). It is important not to accidentally have a duplicate of the server root folder inside your local root though which would accidentally nest your files within another folder when transferring to the server.