Relative src-path for images gets absolute automatically
Last Post 12/02/2011 4:12 AM by chrisv. 0 Replies.
Author Messages
chrisv
Nuker
Nuker
Posts:18


--
12/02/2011 4:12 AM  
I want to place an image into my website that comes from the folder "images" in Portal 0.
I've inserted this image with the html editor:

<img src="images/image.jpg" />

Works perfectly, the image appears in the website. However,
When I edit the content again, I see that the html has changed into the following code:

<img src="dnn/Portal0/images/image.jpg" />

This is a bad thing when I want to transfer the site to another server.
"dnn" is added because that's the application name in the URL.
But when I want to transfer this website to the production-server, the application name will be different. So all images will be lost.

What can I do?!


---