Closed (works as designed)
Project:
Image Assist
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2006 at 19:34 UTC
Updated:
28 Nov 2006 at 18:19 UTC
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
Comment #1
benshell commentedClear 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.
Comment #2
darren oh