MozillaZine

Can not display local images on Firefox

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
trongnh6
 
Posts: 1
Joined: March 4th, 2008, 11:49 pm

Post Posted March 5th, 2008, 12:13 am

Dear all!

I'm using Firefox 2.0.0.12, and I have a trouble with it!
- I create a html page name displayImg.html. This page has two controls:
+ A img src ="" tag to display image (1)
+ A input file='type' tag to select image to display in (2)
+ When user select an image file in (2), I will replace the src in (1) by this new image file path
- After creating, I deployed this page to server(Apache server), on another machine.
- If I used Internet Explorer browser to browse this page, I can select a local image(from my machine) and display it at (1) position
- But if I used FireFox, I can not display the local image.
- I've tried some ways (from Google), but I did not success.
- So my question is: whether FireFox can display local images(image with prefix is local driver like D:/Img/love_u.png)

Thanks for your answer!

For more information, you can contact with me at trongnh6@fsoft.com.vn

Regards,
TrongNH

jscher2000

User avatar
 
Posts: 9572
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA

Post Posted March 5th, 2008, 1:19 am

Hi, no email replies on this board.

Check out this article: http://kb.mozillazine.org/Links_to_loca ... o_not_work

Return to Web Development / Standards Evangelism


Who is online

Users browsing this forum: No registered users and 1 guest