Display image from file-server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

My problem is like this:
I have a file-server and a web-server.
How do I display images that r stored on the file-server.
The users only have dircet access to web-server.
When I display the images with an <img=.....
I only get the direct path to the file-server.

PS uploading the files works fine. But not dispalying them

Do I need to store the files localy to the web-server when showing them?
 
You could stream the file to the browser using Response.WriteFile and with
the appropriate mime type...
This way you'll be able to display the image even if not directly reachable
by the user...

Patrice
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top