lauriii / umami

[Deprecated] Umami is now included in Drupal Core. All further work happens there.
https://www.drupal.org/project/issues/drupal?component=Umami+demo
GNU General Public License v2.0
18 stars 5 forks source link

Components: Image Styles #63

Closed markconroy closed 6 years ago

markconroy commented 7 years ago

highlighted-large - used on the "Highlighted Top/Bottom" view modes See: #24 #25 highlighted-small - used on the "Highlighted Small" view mode See: #26 body-image - images uploaded via the WYSIWYG See: ??

markconroy commented 7 years ago

Do we need to use responsive images here?

ckrina commented 7 years ago

I'd say... yes? I'd expect the same markup in a styleguide. Also, it can force us decide some breakpoints and I think that's good. Anyway, I don't have a strong preference and I'd be fine with css-scaled images on the styleguide.

mariohernandez commented 6 years ago

Are we doing any drupal configuration of responsive images module in this issue? If so, which image fields are we configuring?

ckrina commented 6 years ago

I'd say at least the ones for:

Not sure about the body-image one since I think it have other implications. I'd create a solo issue for that one when we start the Article detail styling. And the same for the ones on banners: let's keep it separated so issues are less dependant from others.

mariohernandez commented 6 years ago

Great! Thank you @ckrina. I'll start with responsive images and image styles.

mariohernandez commented 6 years ago

From our last call it looks like most images are aspect ratio driven so I think it makes more sense to use the aspect ratio as the image style name as this will make them more reusable.

ckrina commented 6 years ago

+1 to the aspect ratio for the name

mariohernandez commented 6 years ago

Created image styles as well as responsive image styles. Updated Article and Recipe content type image fields to use newly created image styles. PR can be seen here: https://github.com/gareth-fivemile/demo_umami/pull/12

thamas commented 6 years ago

I merged the related config changes: https://github.com/gareth-fivemile/demo_umami/pull/12

We can / should check now much easier that everything is set as needed.

markconroy commented 6 years ago

Can this be closed @thamas & @mariohernandez?

mariohernandez commented 6 years ago

Closing as this has been merged by @thamas above.