Click here to Skip to main content
15,895,805 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have an asp page in which i have to display the image which is stored in my local disk C. how can i do that...i am not able to do so.
Posted

Thank God for that!
Imagine someone who wrote a web page and whenever you visiting that page it access your local drive!!!
All hackers are waiting for that!
You an not access from a web page the local drive of one who browsing your site, and that for obvious security reasons...
 
Share this answer
 
You need to set up your computer or a server with IIS or have a web-host and upload the images to the site.
The images should be copied to a special folder or you can make a virtual directory.
The images can be presented using asp.net elements or as HTML image tag and use JavaScript to make dynamic changes.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900