Blocks page: Image on rosetta sites is slightly darker #317
Labels
[Component] Content
Bugs or issues related to the page content
i18n
Translations, RTL issues
priority: low
This should happen sometime, but other things are more important
On rosetta sites, ex https://es.wordpress.org/blocks/, the top image is slightly darker, and does not blend in with the header background.
The issue appears to be due to Rosetta loading the image from wp.org, while the main site uses a Jetpack CDN provided URL: https://wordpress.org/files/2023/08/blocks-header-image.png vs https://i0.wp.com/wordpress.org/files/2023/08/blocks-header-image.png?w=2394&ssl=1
I believe this is because the image is technically a local image on the main site, so the responsive images code runs to inject
srcset
(and then Jetpack adjusts those URLs). On rosetta sites, the image is technically from a remote url, so it can't add srcset or use the Jetpack URLs.I'm not sure why the image hosted on wp.org is darker, but the processed image on wp.com is correct (maybe a png/webp difference?) If anything I would expect the opposite.
Maybe the URL in the content should be updated to use the wpcom URL by default? It is only 4KB, vs the 40KB of the wp.org png.
The text was updated successfully, but these errors were encountered: