Hey @britand !
There are about 1,700 images on our site. After about 1,100 were processed, I had to restart. However, no matter what, it will not restart prosessing the images that are left. Is that our host stopping it?
Hard to tell without debugging. Are there any errors/notices in the dev console? You can open it by pressing Ctrl+Shift+I (in Chrome) and then open the Console tab.
———————-
Second, if I change the settings to a different level of optimization, will it redo all the previously optimized images again?
No, you will need to optimise images manually then. It’s a good feature though, I might add it in the next version.
——————————-
Finally, does this plugin also optimize all sizes for an image, such as thumbnails, etc.?
The plugin compresses the original image and then recreate subsizes from the original COMPRESSED image.
Thanks! Also, it would be a good addition if there was a progress meter or counter for the bulk operation.
Thanks, I’ll explore that error.
But I think the problem might be with some .png image you’re trying to optimise. It can be to large or to heavy and the script cannot process it. So try to remove that image you stuck with and check if the optimisation process resumes.
There are not any larger images on our site that I know of. Also, does your plugin create .Wepb files?
-
This reply was modified 2 years, 4 months ago by
britand.
No, it works only with .jpg and .png files.
When you run a bulk compressing process, you can see which attachment is currently optimising. (https://prnt.sc/pJOn7tZbDBGg)
So if the process stuck on a specific image, try to remove it temporarily from the media library and run the bulk optimise process again.
Also, try to optimise the image that stuck on the squoosh.app with the same parameters and see if it works there.
One thing I came across is if there is a .webp file, it will hang up on that file. Is there a way to add in your plugin’s code to skip such files?
Actually, it shouldn’t compress other files than .jpg and .png, but I’ll check that. Thanks for your notice!