How to display image that is located on another server on the network (ASP.NET)
Posted
by eviljack
on Stack Overflow
See other posts from Stack Overflow
or by eviljack
Published on 2010-04-13T01:31:53Z
Indexed on
2010/04/13
1:32 UTC
Read the original article
Hit count: 332
ASP.NET
I've got a ASP.NET site that's located on a local server (MY_SERVER). And one of the things it does is pull up tiff files which are located on another server (ANOTHER_SERVER). The location of each of these files is stored in SQL. I pull up each of these images and am supposed to display them. The problem is:
the files are not named with a tiff extension (does it matter?)
they aren't displaying at all.
I am using an Image control to display these images, and I'm not sure if it matters that the extension is not set (does the image control know the difference between an jpg and a tiff without the extension?)
I am guessing the images aren't displaying because they are not on the same server MY_SERVER that the images are located (ANOTHER_SERVER). Any ideas on how to fix this?
© Stack Overflow or respective owner