Perhaps I am doing something wrong but this has been an issue on 3 sites now.
When an image is interested via a wysiwyg editor the path is set absolutely. This is great when working out of the same domain name all the time. But in our development work flow this does not work.
When we develop a site the working out of http://dev.domainname.com
Then is goes to staging for client interaction which is: http://stage.domainname.com
Last when in production it's: http://domainname.com
When we move the site between these domain name the path doesn't match the uri. For example if an image was added to a peace of content (using ckeditor) when in dev.domainname.com. And we push the site to stage (using drush rsync and sql-sync) all the images placed by the editor still have the http://dev.domainname.com/path_to_image where as it should be http://stage.domainname.com/,..........
Is there a way to configure this?
At present I go back and reedit all the content and it's painful please help.