Bulk scaling of oversized images does not update the image size in the database
-
Hello,
I’m trying to use Imsanity to batch scale oversized images that were uploaded to the server prior to migrating to WordPress 5.3. We have also arrived at an optimal maximum image size of 2560×2560 px. I also decided to use the Image Magick engine (in CLI mode) and higher quality images since the image processing will not be final and the cloud service will take care of the smaller sizes.However, I have a problem with the way Imsanity works. If it encounters an oversized image it will shrink it without using Image Magic and will not write the actual dimensions of the image so there is a violation of the integrity of the information.
For example: in the media library I see an Imsanity column and a dimension of 2560w x 1799h and then a Dimension w * h column in px: 6911 x 4856. If I click on edit image, the dimensions are again not updated and if I download the image and check the dimensions, the image is correctly scaled according to the specified criteria. I don’t know what to do, I guess I have to restore the site from backup or is there any way to update the image sizes?
We then plan to remove the oversized originals from the site and I found an excellent tool for this in ewww optimizer, for which I thank you very much!
Thanks for the support,
regards,
JiriThe page I need help with: [log in to see the link]
- The topic ‘Bulk scaling of oversized images does not update the image size in the database’ is closed to new replies.