Link to home
Start Free TrialLog in
Avatar of SithHax
SithHax

asked on

Displaying Images from local drive to HTML

Hi,

Here's my situation.
Is there any way of passing images from local machine to be displayed in HTML?
HTML is on server.
I tried setting the img src to point to the files in local machine and it seems to be working in IE6 but not IE7.
Can anyone point me to a better solution.
Avatar of SheharyaarSaahil
SheharyaarSaahil
Flag of United Arab Emirates image

you can use the image in html page if they are stored on a network path
like for exampl,y if the server and the local machine are connect via network, html on server can fetch the image if you will give the source to the network path to the local machine.

if server and local machines are not connected via same network, there is no way that the html can fetch images locally stored in any other machine out of this network and this applies to all the browsers.

im not sure what type of connection or network is present in your case, but if there is no network, IE6 should also not work in any case.
Avatar of SithHax
SithHax

ASKER

They're connected via internet.
Local machine would go to site and commence download of some activex components.
Then I need to display image that is on the local machine via IE.
Can we see your code ?
server can connect to internet
local machine can connect to internet

but the files present on local machine is not avilable online because it cannot act like a web server
you have to put the files online, locally files cannot be fetched using internet.
I dont think it has anything to do with Internet access...as eh said..IE6 is working fine.
IE6 should not work also.....there is no way a server can fetch files from a local machine if they are not connected via network.....only possibility to fetch the files is, if the files are uploaded online. IE6 perhaps looking somewhere else.
Either storing online or setting up reverse natting on the router
ASKER CERTIFIED SOLUTION
Avatar of Gewgala
Gewgala
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial