[wp-trac] [WordPress Trac] #61167: AVIF image thumbnail not created !
WordPress Trac
noreply at wordpress.org
Fri Jan 10 19:48:55 UTC 2025
#61167: AVIF image thumbnail not created !
-------------------------------------------------+-------------------------
Reporter: joomskys | Owner:
| adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.8
Component: Media | Version: 6.5
Severity: normal | Resolution:
Keywords: avif image thumbnail good-first-bug | Focuses:
early has-patch 2nd-opinion | performance
-------------------------------------------------+-------------------------
Comment (by adamsilverstein):
I tried excluding only the specific image types we know the server might
not support when that is the case in https://github.com/WordPress
/wordpress-
develop/pull/7629/commits/18f99116a95ae400ad7f04a7974355513da63c93.
Testing this in the editor however reveals it is a pretty poor experience.
First, the upload fails with a cryptic message that is misleading: "Sorry,
you are not allowed to upload this file type". In the media library we
instead say "The web server cannot generate responsive image sizes for
this image. Convert it to JPEG or PNG before uploading.".
Next we are left with a broken state in the editor with the image half
uploaded.
To fix this, we can add the data to the settings object about server
support for each image type in core, but handle the actual upload
experience and rejection of non-supported types in Gutenberg.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61167#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list