X
Tap here to go to the mobile version of the site.

ஆதரவு மன்றம்

Pictures don't always print in webpages

  • 15 replies
  • 1 இந்த பிரச்சனை உள்ளது
  • Last reply by jscher2000
பதிவிடப்பட்டது

In particular, when I print an article from the New York Times, (nytimes.com) the article prints without pictures. I've played around with the settings, with no luck. Does anyone have any suggestions?

In particular, when I print an article from the New York Times, (nytimes.com) the article prints without pictures. I've played around with the settings, with no luck. Does anyone have any suggestions?

தீர்வு தேர்ந்தெடுக்கப்பட்டது

paul459 said

Thank you! Next time I run into the problem on another site I'll post the link. Should I mark this post as solved, or keep it open for the next time?

It's probably best to mark it solved. That way the forum will allow it to be indexed by Google and it could help others with the same question.

Read this answer in context 0

Additional System Details

நிறுவப்பட்ட நிரல்கள்

  • Adobe PDF Plug-In For Firefox and Netscape 11.0.05
  • A plugin to detect whether the Adobe Application Manager is installed on this machine.
  • Citrix Online App Detector Plugin
  • Version 5.4.2.18903
  • Google Update
  • Intel web components for Intel® Identity Protection Technology
  • Intel web components updater - Installs and updates the Intel web components
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 11.31.2 for Mozilla browsers
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers
  • NPWLPG
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Shockwave Flash 23.0 r0
  • Adobe Shockwave for Director Netscape plug-in, version 12.0.9.149
  • Adobe Shockwave for Director Netscape plug-in, version 12.0.7.148
  • 5.1.41212.0
  • VLC media player Web Plugin 2.1.0

பயன்பாடு

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0

கூடுதல் தகவல்

jscher2000
  • Top 10 Contributor
8758 தீர்வுகள் 71658 பதில்கள்
பதிவிடப்பட்டது

Sometimes this is how the page is designed: one set of layout rules for the screen and a different set of layout rules for printing. If you post a link to a specific article where you see the pictures in regular viewing but they are gone in Print Preview, another volunteer should be able to tell you whether they get the same layout.

Sometimes this is how the page is designed: one set of layout rules for the screen and a different set of layout rules for printing. If you post a link to a specific article where you see the pictures in regular viewing but they are gone in Print Preview, another volunteer should be able to tell you whether they get the same layout.
பதிவிடப்பட்டது

கேள்வியின் உரிமையாளர்

Here is the link you asked for:

http://www.nytimes.com/2016/12/16/briefing/us-briefing-president-obama-aleppo-climate-change.html?_r=0

This doesn't print with pictures. Seems to do it in Google Chrome also. I read something about print style sheets that make it do this.

Are there plugins or addons that can save/print the page with pictures?

Here is the link you asked for: http://www.nytimes.com/2016/12/16/briefing/us-briefing-president-obama-aleppo-climate-change.html?_r=0 This doesn't print with pictures. Seems to do it in Google Chrome also. I read something about print style sheets that make it do this. Are there plugins or addons that can save/print the page with pictures?
jscher2000
  • Top 10 Contributor
8758 தீர்வுகள் 71658 பதில்கள்
பதிவிடப்பட்டது

You can inject a new style rule into the page to override the rule hiding the images. Not very convenient, and probably different from site to site, and may be obsoleted by changes on the NYTimes site, but here's a script to do that at the moment:

var s=document.createElement("style"); s.appendChild(document.createTextNode("@media all{#story .media, #story .photo, #story .image{display:block !important;}}")); document.body.appendChild(s);

You can run that script against the current page by pasting it into the Web Console (command line at the bottom) and pressing Enter to run it, or save it as a bookmarklet, which is a script saved to your Bookmarks Toolbar or Bookmarks Menu for one-click operation. If you need to override this rule often, that's probably easiest. Here's how:

One-time Setup:

(A) Select and copy the following script:

javascript:var s=document.createElement("style"); s.appendChild(document.createTextNode("@media all{#story .media, #story .photo, #story .image{display:block !important;}}")); document.body.appendChild(s); void 0;

(B) Right-click a spot on the Bookmarks Menu or Bookmarks Toolbar where you would like to save the script and choose New Bookmark

(C) In the Location box, paste the script, then in the Name box, enter something you'll remember like NYTPrint and click the Add button

To use the bookmarklet:

While viewing the page that needs modification, click the bookmarklet button. You should see the images in Print Preview.

You can inject a new style rule into the page to override the rule hiding the images. Not very convenient, and probably different from site to site, and may be obsoleted by changes on the NYTimes site, but here's a script to do that at the moment: <code>var s=document.createElement("style"); s.appendChild(document.createTextNode("@media all{#story .media, #story .photo, #story .image{display:block !important;}}")); document.body.appendChild(s);</code> You can run that script against the current page by pasting it into the Web Console (command line at the bottom) and pressing Enter to run it, or save it as a bookmarklet, which is a script saved to your Bookmarks Toolbar or Bookmarks Menu for one-click operation. If you need to override this rule often, that's probably easiest. Here's how: ''One-time Setup:'' (A) Select and copy the following script: <code>javascript:var s=document.createElement("style"); s.appendChild(document.createTextNode("@media all{#story .media, #story .photo, #story .image{display:block !important;}}")); document.body.appendChild(s); void 0;</code> (B) Right-click a spot on the Bookmarks Menu or Bookmarks Toolbar where you would like to save the script and choose New Bookmark (C) In the Location box, paste the script, then in the Name box, enter something you'll remember like ''NYTPrint'' and click the Add button ''To use the bookmarklet:'' While viewing the page that needs modification, click the bookmarklet button. You should see the images in Print Preview.
பதிவிடப்பட்டது

கேள்வியின் உரிமையாளர்

Thank you for your reply and script. I can't test it because I've reached my limit of articles for the month. Somehow the nytimes can track how many articles per month. I imagine this is done by a cookie. Any suggestions on how I can find and delete this cookie?

Thank you for your reply and script. I can't test it because I've reached my limit of articles for the month. Somehow the nytimes can track how many articles per month. I imagine this is done by a cookie. Any suggestions on how I can find and delete this cookie?
jscher2000
  • Top 10 Contributor
8758 தீர்வுகள் 71658 பதில்கள்
பதிவிடப்பட்டது

Cookies are easy to delete on a site by site basis. While viewing a page on the site, try either:

  • right-click (on Mac Ctrl+click) a blank area of the page and choose View Page Info > Security > "View Cookies"
  • (menu bar) Tools > Page Info > Security > "View Cookies"
  • click the padlock or "i" icon in the address bar, then the ">" button, then More Information, and finally the "View Cookies" button

In the dialog that opens, the current site should be pre-filled in the search box at the top of the dialog so you can remove that site's cookies individually.

If you can't get on the site with current cookies, open the dialog on a different page and edit the domain listed in the box at the top to the base site address, e.g., nytimes.com to list that site's cookies.

Then try reloading the page. Does that help?

Cookies are easy to delete on a site by site basis. While viewing a page on the site, try either: * right-click (on Mac Ctrl+click) a blank area of the page and choose View Page Info > Security > "View Cookies" * (menu bar) Tools > Page Info > Security > "View Cookies" * click the padlock or "i" icon in the address bar, then the ">" button, then More Information, and finally the "View Cookies" button In the dialog that opens, the current site should be pre-filled in the search box at the top of the dialog so you can remove that site's cookies individually. ''If you can't get on the site with current cookies, open the dialog on a different page and edit the domain listed in the box at the top to the base site address, e.g., nytimes''.''com to list that site's cookies.'' Then try reloading the page. Does that help?
பதிவிடப்பட்டது

கேள்வியின் உரிமையாளர்

I found and deleted all the cookies for nytimes and the the articles still don't load. So they must hide the cookie or have another way of detecting the 10 articles per month. I know its not by IP address because when I round through my ten in Firefox, I can get ten more from Internet Explorer, and ten more from Google Chrome.

So, does anyone have any suggestions on how to find this cookie, or whatever else is keeping count?

I found and deleted all the cookies for nytimes and the the articles still don't load. So they must hide the cookie or have another way of detecting the 10 articles per month. I know its not by IP address because when I round through my ten in Firefox, I can get ten more from Internet Explorer, and ten more from Google Chrome. So, does anyone have any suggestions on how to find this cookie, or whatever else is keeping count?
jscher2000
  • Top 10 Contributor
8758 தீர்வுகள் 71658 பதில்கள்
பதிவிடப்பட்டது

Sites can also store data through Flash LSO's (Local Storage Objects, also called "supercookies"). I have no idea whether NYTimes uses this method. Adobe has a widget online to view/remove data stored by sites that do:

http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html

You also could try a private window as a workaround for data stored in your regular windows. Just watch out for blocked content due to tracking protection:

Sites can also store data through Flash LSO's (Local Storage Objects, also called "supercookies"). I have no idea whether NYTimes uses this method. Adobe has a widget online to view/remove data stored by sites that do: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html You also could try a private window as a workaround for data stored in your regular windows. Just watch out for blocked content due to tracking protection: * [[Private Browsing - Use Firefox without saving history]] * [[Tracking Protection in Private Browsing]]
பதிவிடப்பட்டது

கேள்வியின் உரிமையாளர்

Thank you,

I used the Adobe widget to delete all of these super cookies.

In a private Window I went to nytimes.com and it allowed me to load an article. I was able to use the script I saved to a bookmark and print the page as it appears with pictures.

But I went to five pages, and at the fifth page I got the message that I've used up 5 of my 10 articles for the month.

I went back to the Adobe widget and there were no new cookies. So nytimes.com apparently doesn't use this method. But somehow, its still tracking my number of visits.

I played with the tracking protection and found no difference between basic and strict. So I set it back to basic.

By trial and error I discovered that each time I open a new private window in Firefox, the article count starts over. So I can get to ten articles, close the private window, open a new private window and start over.

So between the script for printing pictures saved as a bookmark and the private browsing window, it seems to have solved my problems.

Now, I'll ask the question, will that script work on other sites that are not picture friendly, or is there a way I can modify it for various sites when I have a problem? I can't remember the particular site, but there was a recipe I tried to print a few months ago and I couldn't get the pictures to print.

So if you have an answer to that question, please advise.

Thank you, I used the Adobe widget to delete all of these super cookies. In a private Window I went to nytimes.com and it allowed me to load an article. I was able to use the script I saved to a bookmark and print the page as it appears with pictures. But I went to five pages, and at the fifth page I got the message that I've used up 5 of my 10 articles for the month. I went back to the Adobe widget and there were no new cookies. So nytimes.com apparently doesn't use this method. But somehow, its still tracking my number of visits. I played with the tracking protection and found no difference between basic and strict. So I set it back to basic. By trial and error I discovered that each time I open a new private window in Firefox, the article count starts over. So I can get to ten articles, close the private window, open a new private window and start over. So between the script for printing pictures saved as a bookmark and the private browsing window, it seems to have solved my problems. Now, I'll ask the question, will that script work on other sites that are not picture friendly, or is there a way I can modify it for various sites when I have a problem? I can't remember the particular site, but there was a recipe I tried to print a few months ago and I couldn't get the pictures to print. So if you have an answer to that question, please advise.
jscher2000
  • Top 10 Contributor
8758 தீர்வுகள் 71658 பதில்கள்
பதிவிடப்பட்டது

Hi paul459, it really sounds like NYTimes uses regular cookies for keeping track, but possibly the cookies is set by on a related domain rather than by the main server at nytimes.com.

Regarding scripts for other sites, it really depends on the layout, unfortunately. It's very likely to be different on a recipe site (they probably don't use selectors like story, media, photo). But if you post a link, we can probably figure it out.

Hi paul459, it really sounds like NYTimes uses regular cookies for keeping track, but possibly the cookies is set by on a related domain rather than by the main server at nytimes.com. Regarding scripts for other sites, it really depends on the layout, unfortunately. It's very likely to be different on a recipe site (they probably don't use selectors like story, media, photo). But if you post a link, we can probably figure it out.
பதிவிடப்பட்டது

கேள்வியின் உரிமையாளர்

Thank you! Next time I run into the problem on another site I'll post the link. Should I mark this post as solved, or keep it open for the next time?

Thank you! Next time I run into the problem on another site I'll post the link. Should I mark this post as solved, or keep it open for the next time?
jscher2000
  • Top 10 Contributor
8758 தீர்வுகள் 71658 பதில்கள்
பதிவிடப்பட்டது

தீர்வு தேர்ந்தெடுக்கப்பட்டது

paul459 said

Thank you! Next time I run into the problem on another site I'll post the link. Should I mark this post as solved, or keep it open for the next time?

It's probably best to mark it solved. That way the forum will allow it to be indexed by Google and it could help others with the same question.

''paul459 [[#answer-948272|said]]'' <blockquote> Thank you! Next time I run into the problem on another site I'll post the link. Should I mark this post as solved, or keep it open for the next time? </blockquote> It's probably best to mark it solved. That way the forum will allow it to be indexed by Google and it could help others with the same question.
cor-el
  • Top 10 Contributor
  • Moderator
17526 தீர்வுகள் 158458 பதில்கள்
பதிவிடப்பட்டது

A website can also use localStorage to store data locally. You can type locaStorage in the Web Console ("3-bar" menu button or Tools -> Web Developer) to see if any data is stored. The SUMO website uses this to store the open/collapse state of some of the menus in the sidebar.

I see this:

Storage { for-contributors-sidebar.folded: "false", editing-tools-sidebar.folded: "true", announce-geoip-suggestion.closed: "true", question-details.folded: "true", tags-list.folded: "true", question-tools.folded: "true", related-content.folded: "false", length: 7 }

See also:

A website can also use localStorage to store data locally. You can type locaStorage in the Web Console ("3-bar" menu button or Tools -> Web Developer) to see if any data is stored. The SUMO website uses this to store the open/collapse state of some of the menus in the sidebar. I see this: <pre><nowiki>Storage { for-contributors-sidebar.folded: "false", editing-tools-sidebar.folded: "true", announce-geoip-suggestion.closed: "true", question-details.folded: "true", tags-list.folded: "true", question-tools.folded: "true", related-content.folded: "false", length: 7 }</nowiki></pre> See also: *https://developer.mozilla.org/Tools/Storage_Inspector *https://developer.mozilla.org/Tools/Web_Console

cor-el மூலமாக திருத்தப்பட்டது

பதிவிடப்பட்டது

கேள்வியின் உரிமையாளர்

Happy New Year!

Here is an example of a recipes webpage where the picture doesn't print.

http://www.everydayhealth.com/news/caramelized-red-onion-fig-pizza/

Happy New Year! Here is an example of a recipes webpage where the picture doesn't print. http://www.everydayhealth.com/news/caramelized-red-onion-fig-pizza/
பதிவிடப்பட்டது

கேள்வியின் உரிமையாளர்

PS:

The post above:

"A website can also use localStorage to store data locally. You can type locaStorage in the Web Console ("3-bar" menu button or Tools -> Web Developer) to see if any data is stored. The SUMO website uses this to store the open/collapse state of some of the menus in the sidebar."

is over my head. I'm still not sure what to do or what to look for. Will you please clarify. Thank you!

PS: The post above: "A website can also use localStorage to store data locally. You can type locaStorage in the Web Console ("3-bar" menu button or Tools -> Web Developer) to see if any data is stored. The SUMO website uses this to store the open/collapse state of some of the menus in the sidebar." is over my head. I'm still not sure what to do or what to look for. Will you please clarify. Thank you!
jscher2000
  • Top 10 Contributor
8758 தீர்வுகள் 71658 பதில்கள்
பதிவிடப்பட்டது

paul459 said

Here is an example of a recipes webpage where the picture doesn't print. http://www.everydayhealth.com/news/caramelized-red-onion-fig-pizza/

Yes, the large image area is omitted. You can unhide it using this bookmarklet:

javascript:var s=document.createElement("style"); s.appendChild(document.createTextNode("@media print{.hero-image-container{display:block !important; position:static !important;}}")); document.body.appendChild(s); void 0;

Not sure how generalizable that is, but many sites have a giant banner area they refer to as the "hero image" so a similar thing may work there if they used that class name (hero-image-container).

''paul459 [[#answer-949461|said]]'' <blockquote> Here is an example of a recipes webpage where the picture doesn't print. http://www.everydayhealth.com/news/caramelized-red-onion-fig-pizza/ </blockquote> Yes, the large image area is omitted. You can unhide it using this bookmarklet: <code>javascript:var s=document.createElement("style"); s.appendChild(document.createTextNode("@media print{.hero-image-container{display:block !important; position:static !important;}}")); document.body.appendChild(s); void 0;</code> Not sure how generalizable that is, but many sites have a giant banner area they refer to as the "hero image" so a similar thing may work there if they used that class name (hero-image-container).