Hi Matija,
It looks like the Performance Lab plugin is converting the images to WebP but not keeping the original. So there isn’t a JPG or PNG that imsanity can adjust the sizes of (there’s only the WebP versions).
Thread Starter
Matija
(@matija80)
Actually, original is kept along with the scaled version (2560) and dimensions defined by WordPress and theme. Original is jpg and all other versions are webp.
What I’m trying to achieve from Imsanity is to limit the dimensions of original jpg after upload to eg. 1024 both width and height so that Performance Lab plugin wouldn’t generate versions of images with dimensions larger than that. That also includes removing the huge original.
Imsanity doesn’t support webp and Perfomance Lab doesn’t offer an option to limit dimensions and remove original. The site has a huge number of images uploaded by non technical editors so I can’t expect them to resize beforehand. What would be the best solution for my use case?
I think the main issue is that Perfomance Lab is acting before Imagify can do anything, and by that time, it’s too late. I don’t know that there’s going to be a way to get the two to work together nicely.
The only other solution I can think of to do what you want would be to use the free version of our EWWW Image Optimizer plugin. You can limit the max dimensions of your images, generate and serve WebP, control which resizes are generated, and even get the added benefit of compressing the originals. And you’re replacing two plugins with one which has more features (and it’s still free).