I finally got the uploading of images working.
But now, when I select an image on the server, the preview image is broken. The url for the image is ~/UserFiles/ (set in the web.config) but since this is a standard image and not an asp.net image it does not understand the "~/UserFiles/".
I tried to but a fully qualified url in the web.config, but then the image browser breaks with an Internal Server Error (500).
Any ideas on how to get the correct url in the editor and the preview window?
Thanks,
Joe
But now, when I select an image on the server, the preview image is broken. The url for the image is ~/UserFiles/ (set in the web.config) but since this is a standard image and not an asp.net image it does not understand the "~/UserFiles/".
I tried to but a fully qualified url in the web.config, but then the image browser breaks with an Internal Server Error (500).
Any ideas on how to get the correct url in the editor and the preview window?
Thanks,
Joe
RE: ASP.NET 2.0 Image Preview