Home Forums WoodMart support forum Generate previews function creates redundantly big images

Generate previews function creates redundantly big images

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #132101

    horny_fungus
    Participant

    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

    #132134

    Artem Temos
    Keymaster

    Hi,

    It is generated by WordPress functions and depends on the original image size. Our theme has no influence there.

    Kind Regards

    #132212

    horny_fungus
    Participant

    Thanks. I want to dig this a bit deeper, can you please tell me the name of WP function?

    #132257

    Artem Temos
    Keymaster

    We use WPBakery function vc_get_image_by_size and you can see which functions it uses in its source code.

Viewing 4 posts - 1 through 4 (of 4 total)