[wp-trac] [WordPress Trac] #61167: AVIF image thumbnail not created !
WordPress Trac
noreply at wordpress.org
Wed May 8 14:50:31 UTC 2024
#61167: AVIF image thumbnail not created !
----------------------------------+------------------------------
Reporter: joomskys | Owner: adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version: 6.5
Severity: normal | Resolution:
Keywords: avif image thumbnail | Focuses:
----------------------------------+------------------------------
Changes (by adamsilverstein):
* owner: (none) => adamsilverstein
* status: new => assigned
Comment:
Hey @joomskys - thanks for the bug report and sample image.
I gave your image a test on my server that has AVIF support enabled and
the srcset entries were created, which means it is likely your server
lacks AVIF support.
Can you check to see if your media handling includes AVIF? Look under
Tools->Site Health->Info->Media and check which media editor and formats
are supported (search for "AVIF").
I tested again on a site that lacks AVIF support and got the behavior you
described - I was able to upload the image, but no subsizes were created.
Interestingly, when I tried uploading the AVIF file in the Media library,
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. So this does feel like a bug to me, the behavior should be
consistent - the bug is likely on the Gutenberg (rather than core) side
though - the editor should reject your AVIF file when you try to upload it
on a site that lacks AVIF support.
> am using siteground web hosting!
Great, you can ask them about enabling AVIF for your site! It may be
available only on certain plans or they may need to head from enough
customers wanting it to add support.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61167#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list