Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Firefox won't open localhost files, it downloads the file instead and then won't show images, IE9 localhost works fine.

  • 5 відповідей
  • 8 мають цю проблему
  • 8 переглядів
  • Остання відповідь від wolfenr

more options

I have installed XAMPP to preview web pages locally. Everything works fine in IE9 but not in Firefox. When I load a localhost page Firefox downloads the file, then displays the downloaded file without showing images within the page.

So, in IE9 the address bar looks like this (correctly): http://localhost/my_sites/WebMaestro/Exercises/Lesson8/changeImage.html

In Firefox the address bar looks like this: file:///C:/Users/Rog/AppData/Local/Temp/changeImage-3.html

I have installed XAMPP to preview web pages locally. Everything works fine in IE9 but not in Firefox. When I load a localhost page Firefox downloads the file, then displays the downloaded file without showing images within the page. So, in IE9 the address bar looks like this (correctly): http://localhost/my_sites/WebMaestro/Exercises/Lesson8/changeImage.html In Firefox the address bar looks like this: file:///C:/Users/Rog/AppData/Local/Temp/changeImage-3.html

Усі відповіді (5)

more options

Are you using a Firefox extension like Auto Save Document  ? If you are using then you need to disable it. The documents are stored as html-text only (no embedded objects like pictures etc.) As a result the images don't appear on browser.

Змінено xr417

more options

Thanks @xr417 but no, I'm not using Auto Save Document, the only active ones are Kaspersky, Firebug and New Tab Homepage.

more options

Restart Firefox with add-ons disabled and try to load the page again.

more options

Thanks @xr417, all add ons are disabled but exactly the same problem.

more options

By the way, I also uninstalled and re-installed Firefox about 24 hours ago in an attempt to resolve the problem, cleared the caches, re-booted etc. etc.