az-digital / az_quickstart

UArizona's web content management system built with Drupal 10.
https://quickstart.arizona.edu
GNU General Public License v2.0
30 stars 20 forks source link

Investigate image cropping/focal point solutions #693

Open danahertzberg opened 3 years ago

danahertzberg commented 3 years ago

Motivation

  1. I want to keep a specific part of the image in view when using the Text on Media paragraph type.
  2. I want to keep the person's face in frame when switching displays of people.

Proposed Resolution

Could look into focal point module: https://www.drupal.org/project/focal_point

danahertzberg commented 3 years ago

Related to #656

akslay commented 1 year ago

I looked in to this, and the Focal Point module utilizes a field widget to make focal points available to editors. However, we are already utilizing the ImageWidget Crop module (which is also a widget) to expose cropping to editors. Seeing as we can only select one widget to use for an image field, it would have to be one or the other (not both).

Will have to see if there's other ways to offer both levels of functionality. I'm looking into what's suggested in this comment.