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?
Member
15 Points
82 Posts
Showing images on FCKEditor
Mar 02, 2011 01:30 PM|heldersantos.moreira|LINK
Hi,
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?
Best regards,
Hélder Moreira
IT Student @ FEUP
Porto, Portugal
Member
15 Points
82 Posts
Re: Showing images on FCKEditor
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.
Hélder Moreira
IT Student @ FEUP
Porto, Portugal