wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

WebP images do not show in Calypso Posts/Pages list

Open sajmes opened this issue 1 year ago • 2 comments

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

  1. Add a WebP featured image to a post
  2. Publish or save the draft post
  3. View the posts list.

What you expected to happen

The image should show.

What actually happened

The image does not show. jpg webp

webp post

Impact

Some (< 50%)

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

sajmes avatar Jun 12 '24 19:06 sajmes

📌 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 CleanShot 2024-06-17 at 11 26 37@2x

📌 ACTIONS

  • Triaged

liviopv avatar Jun 17 '24 10:06 liviopv

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

dsas avatar Aug 28 '24 08:08 dsas

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

peterschimke avatar Nov 11 '24 15:11 peterschimke

cc @Automattic/dotcom-product-ambassadors for triaging this again

liviopv avatar Nov 19 '24 10:11 liviopv