Saving PDFs from Safari2022-05-02T11:44:32+01:00Zend_Feed_Writerhttps://www.augwessex.org.uk/discussions/view/2063AUGWinfo@augwessex.org.ukhttps://www.augwessex.org.uk/2022-04-15T17:47:56+01:00https://www.augwessex.org.uk/discussions/view/2063#10224Douglas Cheneyinfo@augwessex.org.ukhttps://www.augwessex.org.uk/When saving a PDF file in Safari using reader I find that the images are not showing just blank pages. Has anyone else had this problem and is there a workaround2022-04-16T08:20:34+01:00https://www.augwessex.org.uk/discussions/view/2063#10226Mick Burrellinfo@augwessex.org.ukhttps://www.augwessex.org.uk/I suspect it's because the images are stored in a different place on the web site and are loaded by the page you're visiting.
You could load it in Safari and take a screenshot.2022-04-16T13:35:17+01:00https://www.augwessex.org.uk/discussions/view/2063#10227Douglas Cheneyinfo@augwessex.org.ukhttps://www.augwessex.org.uk/Until the latest version of Safari when saving as a PDF using reader and the print dialog I always got a complete copy of the article2022-04-16T16:57:26+01:00https://www.augwessex.org.uk/discussions/view/2063#10228Eleanor Spenceleyinfo@augwessex.org.ukhttps://www.augwessex.org.uk/I've tried this on Monterey 12.3.1 with the BBC website and am not seeing any issue. Is it a specific website which is having this issue or are you experiencing it on many? What version of OS are you running?2022-04-17T09:39:41+01:00https://www.augwessex.org.uk/discussions/view/2063#10230Douglas Cheneyinfo@augwessex.org.ukhttps://www.augwessex.org.uk/I am running Monterey 12.3.1 and the latest version of Safari and the web site I am having the problem with is OS X Daily2022-04-17T21:35:16+01:00https://www.augwessex.org.uk/discussions/view/2063#10231Eleanor Spenceleyinfo@augwessex.org.ukhttps://www.augwessex.org.uk/Now that is interesting, I too can see the problem. It's interesting the images on the pages are actually are embedded images from Pinterest. Perhaps they block or not load the same when the page is generated into PDF.2022-04-19T16:04:10+01:00https://www.augwessex.org.uk/discussions/view/2063#10237Tony Stillinfo@augwessex.org.ukhttps://www.augwessex.org.uk/You could try (I haven't tested it) saving the page as a Web Archive. Safari (File>Save As) offers the choice in the Format pop-up at the bottom of the Save As dialogue. This promises to save images, amongst other things.
If you specifically need a PDF, you should then be able to open the archive and export a PDF from it.2022-04-19T16:50:49+01:00https://www.augwessex.org.uk/discussions/view/2063#10239Douglas Cheneyinfo@augwessex.org.ukhttps://www.augwessex.org.uk/Thank you Tony I will try that2022-04-19T17:42:31+01:00https://www.augwessex.org.uk/discussions/view/2063#10240Andrew Kempinfo@augwessex.org.ukhttps://www.augwessex.org.uk/Although saving as a web archive works (and looks as though it is embedding all of the images), exporting a PDF from the web archive does not -- the images are missing again.
It appears to be related to the loading="lazy" attribute on the offending img elements. If I try printing this article as a PDF, for example, the first image (which does not have the attribute) is included, but the subsequent images (which do have it) are not.
One solution, although a bit tedious and fiddly, is to open the web inspector on the original page from Safari's 'Develop' menu, and delete the loading="lazy" attribute from each of the img elements that have it. Then exporting the page as a PDF does include those images (this works both in Reader mode, and without it).2022-04-19T18:38:58+01:00https://www.augwessex.org.uk/discussions/view/2063#10241Andrew Kempinfo@augwessex.org.ukhttps://www.augwessex.org.uk/[Deleted an alternate suggestion that does not work, in general]2022-05-01T23:15:43+01:00https://www.augwessex.org.uk/discussions/view/2063#10260Tony Stillinfo@augwessex.org.ukhttps://www.augwessex.org.uk/Bah! Someone is being lazy.
Thanks for testing it Andrew.2022-05-02T11:44:32+01:00https://www.augwessex.org.uk/discussions/view/2063#10262Douglas Cheneyinfo@augwessex.org.ukhttps://www.augwessex.org.uk/Sorry Tony I tried that out and as Andrew says it doesn't work up until the last OS update it worked very well.