468,294 Members | 1,809 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,294 developers. It's quick & easy.

Display image from file-server

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?
--
Ståle Bårdset
Jul 21 '05 #1
1 1350
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

--

"staleb" <st****@discussions.microsoft.com> a crit dans le message de
news:B4**********************************@microsof t.com...
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?
--
Stle Brdset

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Kevin | last post: by
4 posts views Thread by Shelly | last post: by
2 posts views Thread by Tyrone Slothrop | last post: by
4 posts views Thread by Dean L. Howen | last post: by
3 posts views Thread by briand | last post: by
3 posts views Thread by den 2005 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.