driebit / ginger

Ginger: awesome semantic CMS built on Zotonic
http://ginger.nl
Apache License 2.0
29 stars 9 forks source link

Responsive images #6

Open Driebot opened 8 years ago

Driebot commented 8 years ago

In gitlab by david on Nov 12, 2015, 08:34

As discussed on Yammer: we need responsive images.

Proposal:

Questions:

  1. Are 3 image sizes enough or do we need more?
  2. Should we add support in Zotonic’s {% image %} tag or should we add a separate {% imgset %} tag?
  3. How do frontenders feel about passing the imgset sizes HTML attribute? Shouldn’t that be in the CSS instead?
Driebot commented 8 years ago

In gitlab by david on Nov 17, 2015, 10:54

As a starting point, we could use separate mediaclass.configs per device (suggested by Fred).

Driebot commented 8 years ago

In gitlab by david on Nov 26, 2015, 11:54

http://blog.cloudfour.com/responsive-images-101-part-4-srcset-width-descriptors/

Driebot commented 8 years ago

In gitlab by david on Nov 30, 2015, 08:58

Adding this to Zotonic: https://github.com/zotonic/zotonic/pull/1096

vincentjacobs commented 7 years ago

Apparently this issue is discussed and closed in Zotonic: https://github.com/zotonic/zotonic/pull/1096. I suggest to close this one too.