Setup for delivering images to Print Page

Created on 14 January 2015, about 10 years ago
Updated 19 September 2023, over 1 year ago

Hi,

I'm trying to achieve having a print page specific size and styling (greyscale) for some of the wysiwyg inline images in my latest project, so I thought this should be easy with a media query and picture. I read somewhere that picture does deliver images for both screen and print, but I can't figure it out. This is what I've tried:

  • add new breakpoint to my wysiwyg-breakpoint group
  • address that breakpoint to media {only print and (min-width: 0px)}
  • I tried having the breakpoint both on bottom and on top of the breakpoint chain
  • create new greyscale image style
  • map the image style to the corresponding breakpoint

This sounds reasonable, but no greyscale image is printed. It's not even generated. Still, looking at the code I see that the picture-tag contains all styles. What else do I have to do?

Cheers,
upunkt

💬 Support request
Status

Closed: outdated

Version

2.0

Component

Documentation

Created by

🇩🇪Germany upunkt

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024