unlcms / project-herbie

Drupal 10 implementation at the University of Nebraska–Lincoln
https://cms.unl.edu
GNU General Public License v2.0
5 stars 6 forks source link

Added a new responsive image style and new 16:9 image styles #572

Closed sarongebre closed 1 month ago

sarongebre commented 7 months ago

Closes #563

I am not sure why Drupal changed some setting when I did a write. I did a write on builder feature and media type feature.

For instance, I am not sure why in config/sync/core.entity_view_display.media.image.default.yml the image changed to svg_image

and why svg_image:svg_image_responsive got added in web/modules/custom/features/herbie_media_types/herbie_media_types.info.yml

I also created a new media.hero(machine name) view for the image media type to be able to assign the new Hero responsive Image Style

Responsive Image Breakpoints and Image Styles.docx