Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
With media, Focal point is not applied in the display of the field with the media_responsive_thumbnail mode.
It s a contrib module that provide that: https://www.drupal.org/project/media_responsive_thumbnail
With media, is does work in the display of the field with the thumbnail mode.
Not shure if i've to signal this here or at their page.
Comments
Comment #2
OCTOGONE.dev CreditAttribution: OCTOGONE.dev commentedAfter digging, It s not related to the media_responsive_thumbnail, but with the webp Module.
focal point is done with the different jpg image style in the responsive image style -- HTML
tag -- but not with the webp image.
Comment #3
OCTOGONE.dev CreditAttribution: OCTOGONE.dev commentedComment #4
Belialius CreditAttribution: Belialius commentedCan confirm that have issue using focal point and webp images, when add convert to webp image style that using focal point, webp is not generated for webp image and images displayed without focal point
Comment #5
dalinIs this problem when using Core's support for WebP, and/or with the WebP module?
https://www.drupal.org/project/webp
Comment #6
marcus.williams@four.agency CreditAttribution: marcus.williams@four.agency commentedI'm seeing the same issue and it using the core webp. I looks like crop_field_data isn't populated for any webp images
Comment #7
marcus.williams@four.agency CreditAttribution: marcus.williams@four.agency commentedTry this https://www.drupal.org/project/crop/issues/3293782 it solved my issues
Comment #8
rossb89 CreditAttribution: rossb89 at ComputerMinds commentedYup, patch in https://www.drupal.org/project/crop/issues/3293782 is the one for webp.