citechsolutions
asked on
Display Images on Web Form specifying File Path
I need to display an image that is stored in a folder on the webserver that is NOT part of the root of the website, i.e. D:\projects\project_number \photos\ and webserver is D:\inetpub\wwwroot\website etc.
The Image.ImageURL must have a relative path. The images are related to a project and stored in the project file structure, so I am locating the image to load through project varialbe, i.e. project_number. Once I generate the path to the photo, I cannot display the photo due to the relative path needed for ImageURL.
What are my options to displaying the photo? I want the code to open a new window and display the image.
Thanks.
The Image.ImageURL must have a relative path. The images are related to a project and stored in the project file structure, so I am locating the image to load through project varialbe, i.e. project_number. Once I generate the path to the photo, I cannot display the photo due to the relative path needed for ImageURL.
What are my options to displaying the photo? I want the code to open a new window and display the image.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.