wp-media / imagify-plugin

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

In media library New image size shall be that of AVIF|webP|optimized based on which exists #794

Closed Mai-Saad closed 3 months ago

Mai-Saad commented 4 months ago

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

Describe the bug The New image size is always the original image optimized size instead of the webP (as on trunk) or the AVIF. After discussion, with @piotrbak , agreed that we shall display the new size as the smallest size

To Reproduce Steps to reproduce the behavior:

  1. Enable the Avif
  2. upload image
  3. check the image in the media library => compare the new size to that in ftp, it will be the optimized image size, not the AVIF one although AVIF is smaller

Expected behavior The smaller size of the optimized image shall be displayed in the media library as a new size

Screenshots If applicable, add screenshots to help explain your problem. Screenshot from 2024-02-02 12-50-19

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

piotrbak commented 3 months ago

Hey @Tabrisrp Isn't 2.2.1 a correct milestone for this one?