Core Image Block Is Not Printable

Permalink
I have found that you cannot print a core image block at all. When I open the print preview, the image isn't shown.

I tried doing this:

@media print {
   .ccm-page picture, .ccm-page img {
             display: block !important; 
             visibility: visible !important;
         }
   .ccm-image-block {
      display: block !important;
      visibility: visible !important;
      max-width: 100% !important;
   }
}


It seems to me that something is preventing the image block from being visible for print media. Any ideas on how I could force the image block to show up for printing?

PineCreativeLabs
 
mesuva replied on at Permalink Reply
mesuva
That's a strange one. On a pretty standard install with Elemental I tried adding an image block and then printing with Chrome (on a mac) - the image I placed showed up in the print preview. Tried it in Firefox as well. The image block is outputting a picture tag.

Could you have inadvertently disabled printing of images in your browser? What browser are you using?
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
I fixed it. The problem was caused by a javascript plugin that I am working with that prints elements on a page, and I wasn't wrapping the image block correctly.