Gallery component does not render .webp images in Apple News Format
Hi team,
I'm currently implementing a gallery component using Apple News Format and noticed that images using the .webp format are not being rendered inside the gallery.
Here's a working example I tested
{
"role": "gallery",
"items": [
{
"URL": "https://storage.googleapis.com/skratch-strapi/Getty_Images_2195923330_6b173dfe50/Getty_Images_2195923330_6b173dfe50.jpg",
"caption": "asdasdas"
},
{
"URL": "https://storage.googleapis.com/skratch-strapi/Callaway_Edge_Set_Costco_ee784c6aa8/Callaway_Edge_Set_Costco_ee784c6aa8.jpg",
"caption": "adsasasda"
},
{
"URL": "https://storage.googleapis.com/skratch-strapi/Screenshot_2024_11_29_at_2_04_55_PM_9807ba59a9/Screenshot_2024_11_29_at_2_04_55_PM_9807ba59a9.png",
"caption": null
},
{
"URL": "https://storage.googleapis.com/skratch-strapi/dynapwr_carbon_FW_cf6e057b47/dynapwr_carbon_FW_cf6e057b47.jpg",
"caption": null
},
{
"URL": "https://storage.googleapis.com/skratch-strapi/23049476_53764287_1000_9f9770965c/23049476_53764287_1000_9f9770965c.webp",
"caption": null
}
]
}
The .jpg image renders fine, but the .webp image does not show up and causes the following error:
Error: Resource with URI [https://storage.googleapis.com/skratch-strapi/23https://storage.googleapis.com/skratch-strapi/23049476_53764287_1000_9f9770965c/23049476_53764287_1000_9f9770965c.webp]
The same .webp image works perfectly when used as a photo component, so it seems this may be a limitation or bug specifically within the gallery role.
Can you confirm if .webp images are supported for gallery items?
Thanks for your help!
MacBook Pro 14″, macOS 15.5