- Issue created by @OCTOGONE.dev
- π§πͺBelgium OCTOGONE.dev Brussels
After 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.<picture> <source srcset="/sites/default/files/styles/landscape_xxl/public/images/media/2023-05/pexels-photo-842711.webp?h=4b4e72c6&itok=ey89HOJo 1x" media="all and (min-width: 1400px)" type="image/webp"> <source srcset="/sites/default/files/styles/landscape_xxl/public/images/media/2023-05/pexels-photo-842711.webp?h=4b4e72c6&itok=ey89HOJo 1x" media="all and (min-width: 1200px)" type="image/webp"> <source srcset="/sites/default/files/styles/landscape_xl/public/images/media/2023-05/pexels-photo-842711.webp?h=4b4e72c6&itok=8rfsXFqb 1x" media="all and (min-width: 992px)" type="image/webp"> <source srcset="/sites/default/files/styles/landscape_lg/public/images/media/2023-05/pexels-photo-842711.webp?h=4b4e72c6&itok=0DSyvClz 1x" media="all and (min-width: 768px)" type="image/webp"> <source srcset="/sites/default/files/styles/landscape_md/public/images/media/2023-05/pexels-photo-842711.webp?h=4b4e72c6&itok=C34V042b 1x" media="all and (min-width: 576px)" type="image/webp"> <source srcset="/sites/default/files/styles/landscape_sm/public/images/media/2023-05/pexels-photo-842711.webp?h=4b4e72c6&itok=2p2Njsym 1x" media="all and (min-width: 0px)" type="image/webp"> <source srcset="/sites/default/files/styles/landscape_xxl/public/images/media/2023-05/pexels-photo-842711.jpeg?h=4b4e72c6&itok=ey89HOJo 1x" media="all and (min-width: 1400px)" type="image/jpeg"> <source srcset="/sites/default/files/styles/landscape_xxl/public/images/media/2023-05/pexels-photo-842711.jpeg?h=4b4e72c6&itok=ey89HOJo 1x" media="all and (min-width: 1200px)" type="image/jpeg"> <source srcset="/sites/default/files/styles/landscape_xl/public/images/media/2023-05/pexels-photo-842711.jpeg?h=4b4e72c6&itok=8rfsXFqb 1x" media="all and (min-width: 992px)" type="image/jpeg"> <source srcset="/sites/default/files/styles/landscape_lg/public/images/media/2023-05/pexels-photo-842711.jpeg?h=4b4e72c6&itok=0DSyvClz 1x" media="all and (min-width: 768px)" type="image/jpeg"> <source srcset="/sites/default/files/styles/landscape_md/public/images/media/2023-05/pexels-photo-842711.jpeg?h=4b4e72c6&itok=C34V042b 1x" media="all and (min-width: 576px)" type="image/jpeg"> <source srcset="/sites/default/files/styles/landscape_sm/public/images/media/2023-05/pexels-photo-842711.jpeg?h=4b4e72c6&itok=2p2Njsym 1x" media="all and (min-width: 0px)" type="image/jpeg"> <img src="/sites/default/files/styles/landscape_xxl/public/images/media/2023-05/pexels-photo-842711.jpeg?h=4b4e72c6&itok=ey89HOJo" alt="" typeof="foaf:Image" draggable="false"> </picture>
- πΊπ¦Ukraine Belialius Cherkasy
Can 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
- π¨π¦Canada dalin Guelph, π¨π¦, π
Is this problem when using Core's support for WebP, and/or with the WebP module?
https://www.drupal.org/project/webp β I'm seeing the same issue and it using the core webp. I looks like crop_field_data isn't populated for any webp images
Try this https://www.drupal.org/project/crop/issues/3293782 π Crop API is not appending a hash when the image styles are converted to WEBP Needs review it solved my issues
- π¬π§United Kingdom rossb89 Bristol
Yup, patch in https://www.drupal.org/project/crop/issues/3293782 π Crop API is not appending a hash when the image styles are converted to WEBP Needs review is the one for webp.