wp-media / imagify-plugin

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

Delete next-gen or webP isnot displayed for optimized images #829

Open Mai-Saad opened 8 months ago

Mai-Saad commented 8 months ago

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

Describe the bug Delete webP image isnot displayed in media library for optimized images as same as it is displayed for already optimized images (on 2.2 delete next-gen won't be displayed in the same scenario)

To Reproduce Steps to reproduce the behavior:

  1. 2.1.3 installed and activated
  2. Create webP is enabled
  3. upload image (small, medium , large)
  4. notice delete webP link only displayed for small image that is already optimized and not displayed to other 2 images

Expected behavior Delete link is displayed as long as webp on 2.1.3.1 or next-gen is generated as per enabled option on 2.2

Screenshots If applicable, add screenshots to help explain your problem. Screenshot from 2024-02-29 08-37-53

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 8 months ago

isn't it normal? I don't know what were the original expectations when implementing WebP at the time, but I see it as this:

The end result is the same for both cases, only the original image remains.

@piotrbak

piotrbak commented 8 months ago

@Tabrisrp Thanks for the bigger picture of this use case. We'll need to discuss within the team a couple of scenarios similar to this one.

Mai-Saad commented 8 months ago

related to https://github.com/wp-media/imagify-plugin/issues/812