[wp-trac] [WordPress Trac] #60902: WordPress don't create additional sizes for AVIF image files uploaded
WordPress Trac
noreply at wordpress.org
Thu Apr 4 16:57:59 UTC 2024
#60902: WordPress don't create additional sizes for AVIF image files uploaded
--------------------------+------------------------------------------
Reporter: fernandot | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.5
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: administration, performance
--------------------------+------------------------------------------
Changes (by adamsilverstein):
* keywords: needs-patch reporter-feedback => needs-patch
Comment:
> Yes, a good point would be to inform the user that the server doesn't
support AVIF files and prevent the upload, for a streamlined user
experience.
I agree we could better inform the user here, and maybe block the upload
as long as that can be bypassed as some users are expecting to be able to
upload and use (the full sized) AVIF images even if the server doesn't
support AVIF
> I've asked the hosting and the response is that the GD extension only
offers support for AVIF images format from PHP 8.1.
That is generally true for PHP's built in GD support. WordPress also
supports the Imagick library for image processing which lets you enable
AVIF support with lower PHP versions - although if possible I would
consider upgrading to PHP 8.1 or higher anyway! Good to ask your host for
AVIF support, until then you should probably stick to WebP or JPEG for
images.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60902#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list