Last post Mar 07, 2011 07:57 AM by heldersantos.moreira
Mar 02, 2011 01:30 PM|heldersantos.moreira|LINK
I have a FCKEditor control on my .aspx page and i'm trying to load in the editor an html file that i have.
My structure is something like this:
In the .html file the image is referenced as fileimage.png since it is in the same folder as the .html and it opens without any problem.
If i change the image path on the html page and put the absolute path (something like "C:\....\File\fileimage.png" ) it works on my production server without problems, as expected. However, when testing from a client machine, the image is not shown as the
path "C:\....\File\fileimage.png" in the client machine doesn't mean anything and the image isn't there at all.
So my question is, what path sould i give to the image that will allow her to be viewed from any client machine?
Mar 07, 2011 07:57 AM|heldersantos.moreira|LINK
So i reached the solution by myself, i changed to relative paths starting from my application forward as in "/Application/..../image.jpeg".
By doing this, i'm able to see the images on my development machine and in my clients machines.