By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,092 Members | 1,650 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,092 IT Pros & Developers. It's quick & easy.

Display image from file-server

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.