wp-media / imagify-plugin

Speed up your website with lighter images without losing quality.
https://imagify.io
73 stars 27 forks source link

File type isnot valid in media library when upload AVIF image #798

Open Mai-Saad opened 9 months ago

Mai-Saad commented 9 months ago

Before submitting an issue please check that you’ve completed the following steps:

Describe the bug When uploading AVIF image then go to the media library, the status will be File type image/avif is not valid.

To Reproduce Steps to reproduce the behavior:

  1. Fresh install
  2. upload AVIF image
  3. Go to media library

Expected behavior

Screenshots If applicable, add screenshots to help explain your problem. Screenshot from 2024-02-05 13-45-27

Additional context Add any other context about the problem here.

Acceptance Criteria (for WP Media team use only) Clear instructions for developers, to be added before the grooming

remyperona commented 9 months ago

@piotrbak @MathieuLamiot I'm not sure what the expectations are here:

piotrbak commented 9 months ago

@Tabrisrp Thanks! Let's not touch it in the 2.2.

@Mai-Saad how were you able to upload AVIF? Which environment was used there?

Mai-Saad commented 9 months ago

@Mai-Saad how were you able to upload AVIF? Which environment was used there?

@piotrbak on https://imagify.rocketlabsqa.ovh/ using WP 6.5-beta1-57656

piotrbak commented 9 months ago

@Mai-Saad That's why. Let's leave it for the future enhancement