Closed delisma closed 9 years ago
@ElismaD I am not sure this belongs in the theme repository. This repository is for building the theme only and therefore we do no process content.
That being said, you could look into using grunt for your own site and add such tasks to help you
I see now, the thinking behind the question was that in case some images were used in the theme too, at different resolution depending on the viewport. But those images could (or should) be processed as SVG with a PNG file for fallback instead of trying to figure out the best image resolution for the different viewport size. Which now makes more sense to me.
We are trying to no be opinionated to leave freedom to developers but it's probably possible
Is it possible to automate the process of scaling images for hi-res screen and/or different @media-queries (i.e min-width: 300px than load 'image-medium.jpg') with Yeoman or Grunt? So that it could be possible to use them in conjunction with the data-picture plugin.
Thanks and keep the good work!