currently when I insert an image, the src includes the domain.

I am using a staging server to preparing content for release. So the img src = http://stage.mysite.com/files/images/,,, This image path will be broken when the the site goes to the live server.

Image Assist is only used to insert images that are uploaded into the drupal system, so all images generated by it are local. What's the point of including the domain in the path?

paths should be inserted relative to the domain. img src="/files/images/,,,

This way when content moves from one domain to another, there's no problem with absolute paths in the content.

Please tell me if I'm wrong.

Comments

benshell’s picture

Category: bug » feature

Clear your cache, and the image paths will change to whatever domain you're currently on.

I'm not saying there shouldn't be an option here, but one advantage of using the full URL is for RSS feeds.

darren oh’s picture

Status: Active » Closed (works as designed)