[wp-trac] [WordPress Trac] #61167: AVIF image thumbnail not created !

WordPress Trac noreply at wordpress.org
Wed May 8 21:32:09 UTC 2024


#61167: AVIF image thumbnail  not created !
-------------------------------------------------+-------------------------
 Reporter:  joomskys                             |       Owner:
                                                 |  adamsilverstein
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Media                                |     Version:  6.5
 Severity:  normal                               |  Resolution:
 Keywords:  avif image thumbnail dev-feedback    |     Focuses:
  reporter-feedback                              |
-------------------------------------------------+-------------------------

Comment (by azaozz):

 Replying to [comment:2 adamsilverstein]:
 > I got an error message "This image cannot be processed by the web
 server. Convert it to JPEG or PNG before uploading." and the image refuxed
 to upload.

 Yea this is a bug and needs fixing. Most likely it's a "left over" from
 the initial implementation of error messages about AVIF files few years
 ago when they weren't supported in the web browsers.

 Looking at https://github.com/WordPress/wordpress-develop/pull/6531:
 thinking it would be better  to show a better error message that explains
 exactly what's wrong (server not able to work with these images) and tell
 the users to convert the file before uploading it. Perhaps the same text
 as in the JS error?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61167#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list