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

Use normal image formatting in Person node templates #375

Closed ericras closed 1 year ago

ericras commented 1 year ago

Person node templates have '1_1_240x240' image style hardcoded which was removed.

Replace the image generation that uses drupal_image() with a typical drupal twig render. Add custom CSS to avoid needing to put "dcf-ratio-child dcf-obj-fit-cover" on the tag.