wp-media / imagify-plugin

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

Bulk optimization isnot working #830

Closed Mai-Saad closed 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 When apply bulk optimization, message displayed that all images optimized although it isnot

To Reproduce Steps to reproduce the behavior:

  1. Fresh install/activation of feature/avif
  2. upload some images (small, medium, large) => optimization is done
  3. click restore original image for optimized image => next-gen removed and image(s) timestamp is updated
  4. got to bulk optimization and click imagify all => message displayed that images are optimized Screenshot from 2024-02-29 10-37-34

Expected behavior A clear and concise description of what you expected to happen. Bulk optimization is applied as same as on trunk (image timestamp/size is updated + next-gen is added as per enabled option)

Screenshots If applicable, add screenshots to help explain your problem.

when click bulk optimization and display that images already optimized Screenshot from 2024-02-29 10-51-05

after manually click on the optimize Screenshot from 2024-02-29 10-56-23

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

@Mai-Saad Is it happening only with the 3rd step click restore original image for optimized image? What about the images that were uploaded before but not yet optimised? (is it a regression?)

Mai-Saad commented 8 months ago

Is it happening only with the 3rd step click restore original image for optimized image? What about the images that were uploaded before but not yet optimized?(is it a regression?)

@piotrbak The same is happening with images uploaded before activating imagify. and yes it is regression.

piotrbak commented 8 months ago

@Khadreal Were you able to find the root cause?

Khadreal commented 8 months ago

@Khadreal Were you able to find the root cause?

Not yet..still on it