Hi,
Your question is not clear where to get an image to view, either in a virtual folder, database or just using an html code and target the url image in such virtual folder to view an image...
I had already made an application as such...
You may use a link reference as I do in my mention application
Checkout this link
Expando Image script by Dynamic Drive
or you may reference my article
Display/Store and Retrieve Image Data from Database to Gridview, and also on Mouse Over
Hope this could help...
Do not forget to vote if could help...
Regards,