WebP images do not show in Calypso Posts/Pages list
Quick summary
When adding a WebP image as a featured image, it does not show in the posts list. JPEGs do show as expected.
Steps to reproduce
- Add a WebP featured image to a post
- Publish or save the draft post
- View the posts list.
What you expected to happen
The image should show.
What actually happened
The image does not show.
Impact
Some (< 50%)
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
📌 REPRODUCTION RESULTS
- Tested on Simple – Replicated
- Tested on Atomic – Replicated
📌 FINDINGS/SCREENSHOTS/VIDEO Simple
https://github.com/Automattic/wp-calypso/assets/14153300/0e85cc65-9b34-4fd0-9ee8-f52914008d48
Atomic
📌 ACTIONS
- Triaged
Might just be a case of updating the extension list here: https://github.com/Automattic/wp-calypso//blob/e1f240e1fb5a4083592a787b3e6a4f4c9f553692/client/lib/post-normalizer/utils/is-url-likely-an-image.js#L15
Might just be a case of updating the extension list here: https://github.com/Automattic/wp-calypso//blob/e1f240e1fb5a4083592a787b3e6a4f4c9f553692/client/lib/post-normalizer/utils/is-url-likely-an-image.js#L15
Did this fix the problem? cc @liviopv
cc @Automattic/dotcom-product-ambassadors for triaging this again