Generate previews function creates redundantly big images
-
Hi, when enabled “Generate previews” function makes 10×10 placeholder images. Some of them are tiny (within 1 Kb) as expected, while others are up to 30Kb which is really huge for 10×10 placeholder image. There must be some bug.
See dev tools screenshot – https://prnt.sc/od0vxo
Hi,
It is generated by WordPress functions and depends on the original image size. Our theme has no influence there.
Kind Regards
Thanks. I want to dig this a bit deeper, can you please tell me the name of WP function?
We use WPBakery function vc_get_image_by_size
and you can see which functions it uses in its source code.