acquia / df

Demo Framework - mirrored at https://git.drupal.org/project/df.git
https://www.drupal.org/project/df
18 stars 19 forks source link

Add responsive image style that uses large medium and thumbnail, plus a “Square” view mode #126

Closed saltednut closed 5 years ago

saltednut commented 5 years ago

Related to #125

Rather than having a kind of useless "Thumbnail" view mode added by DF, I have realized we need one called "Square" that should replace the thumbnail one.

A responsive image style also called "Square" can be used here, with Large, Medium and Thumbnail image styles in the proper breakpoints.

saltednut commented 5 years ago

I'm going to leave the "Thumbnail" because it's actually added by Lightning. Thumbnail is easier to rewrite so that it actually uses the thumbnail image style (Lightning adds the "Medium" as the image style for 'Thumbnail' image media.

Meanwhile, it's still good to have a "Square" view mode that gives responsive results. Added via a825b078