Can not display local images on Firefox

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

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

Dear all!

I'm using Firefox, 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



User avatar
Posts: 10051
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: ... o_not_work

Return to Web Development / Standards Evangelism

Who is online

Users browsing this forum: No registered users and 1 guest