搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Pictures viewing when browsing offline

  • 6 回覆
  • 1 有這個問題
  • 178 次檢視
  • 最近回覆由 alylutgen

more options

If you open a local .html file (downloaded before and saved to disk) in Firefox (as in most other browsers), some pictures are displayed, others not. Is there any configuration setting to get all pictures displayed? Or what would you suggest to do in order to be able to view websites offline the same way as they appear when viewing them on the Internet? Thanks for help.

If you open a local .html file (downloaded before and saved to disk) in Firefox (as in most other browsers), some pictures are displayed, others not. Is there any configuration setting to get all pictures displayed? Or what would you suggest to do in order to be able to view websites offline the same way as they appear when viewing them on the Internet? Thanks for help.

被選擇的解決方法

Hi alylutgen, one question and three comments:

Q: In your other thread, you mentioned that you do not have an internet connection. How are you accessing websites?

(1) I find that Save As (complete webpage) sometimes fails on the first try but then works on the second try. I don't use this very much, so I don't know when it started doing that. Either way, this format is not completely reliable because scripts in the page may not run in exactly the same way offline as they did online.

(2) My personal preference is to PDF pages if I want to capture them in their current form. Some sites ruin their print view, so it doesn't work well on those sites, but you can easily check by calling up print (Ctrl+P) and looking at the preview. Firefox and Chrome can both save to PDF directly from their print overlay without using an extra converter.

(3) If you strongly prefer HTML over PDF, the following extension is a good tool for saving as an "all in one" format: https://addons.mozilla.org/firefox/addon/single-file/

從原來的回覆中察看解決方案 👍 1

所有回覆 (6)

more options

Using Menu > Save Page As you need to select Web Page Complete. This will save the page as an HTM or HTML file with any extra data, like pictures, in a subfolder of the same name.

more options

First, I desperately try to succeed in saving complete webpages. I made a post concerning this issue (https://support.mozilla.org/en-US/questions/1349543). That post has been marked a duplicate of this one. Difficult to understand, how trying to find help with failure of saving webpages and asking how to view all pictures when viewing a local .html file should be the same subject... Second, if the Save As (complete webpage) works, all pictures are downloaded, but if you open the local .html file with Firefox, only some pictures are displayed, whereas others are not. This is the case as long as I know and maybe Internet Explorer is the only browser showing all pictures. The "Save As" resulting in a failure is only since version 83 or 84. As it seems to be impossible to find help for my problems, maybe someone could give me another kind of advice: 1. Suggesting some other web browser, that offers a little bit of the browsing comfort and privacy respect as Firefox (Chrome saves all web pages, but all web traces clearing has to be done manually; Edge seems ok, but settings are reset with Windows Update...). 2. Downgrading to a prior Firefox version (v80-v82), with which webpages savings worked correctly (as with very old versions on Windows 2000; I really can't understand how new software versions - not only Firefox - work less and less correctly) would solve my problem, but isn't that a security risk and finally better considering to switch to Chrome, Edge, Opera...?

more options

選擇的解決方法

Hi alylutgen, one question and three comments:

Q: In your other thread, you mentioned that you do not have an internet connection. How are you accessing websites?

(1) I find that Save As (complete webpage) sometimes fails on the first try but then works on the second try. I don't use this very much, so I don't know when it started doing that. Either way, this format is not completely reliable because scripts in the page may not run in exactly the same way offline as they did online.

(2) My personal preference is to PDF pages if I want to capture them in their current form. Some sites ruin their print view, so it doesn't work well on those sites, but you can easily check by calling up print (Ctrl+P) and looking at the preview. Firefox and Chrome can both save to PDF directly from their print overlay without using an extra converter.

(3) If you strongly prefer HTML over PDF, the following extension is a good tool for saving as an "all in one" format: https://addons.mozilla.org/firefox/addon/single-file/

more options

Did you check the page source of the saved HTML file to see if you can identify what goes wrong with saving the page and the images ?

Firefox normally saves the main HTML and creates an additional xxx_files folder on en-US, on other locales this can be named differently, that stores other files used on the page and modify the HTML code to point to this xxx_files folder. Sometimes images are loaded via an HTML link or via CSS files (background images) and lazily via JavaScript.

more options

jscher2000 wrote "...you mentioned that you do not have an internet connection. How are you accessing websites?" I have no Internet of my own, but there are plenty of free hotspots here araound.

jscher2000 wrote "If you strongly prefer HTML over PDF, the following extension is a good tool for saving as an 'all in one' format: https://addons.mozilla.org/firefox/addon/single-file/" I prefer HTML, because PDF documents are normally subdivided into pages, that might result in pictures, tables, etc split over two pages. Concerning the extension, you mentioned, I tried it and it seems to work perfectly. Not only, that pages that fail with "Save As" seem actually to be saved, but also they seem to be displayed offline with all images included. Awsome! Big, big thanks. You solved an essential problem, I'm having for months and now I even get my offline pages with all pictures! And all this without having to replace Firefox by some browser, that lots of people use, but that I personally would never recommend. Just thank you!

more options

Except for some (I suppose rare) cases, where the extension says that it's not possible to save the webpage as a singe file, the 3rd answer of jscher2000 solves the problem, I would say. By the way (may perhaps be useful to others), I noticed that if the scrollbar of the webpage is not at the right end of the browser window (because there is some extra vertical tab, as in the web statistics emails by Google Search Console), the page is saved without a working scrollbar and thus only the beginning of the document may be viewed. This issue is easily solved by hiding the extra tab (and thus, having the scrollbar at the right end) before using the extension. Thanks again.