Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi qwertis,

    To add custom image sizes, you need to insert a bit of code to “functions.php” file in your template directory:

    add_image_size('name_of_your_size', 600, 400, false);

    In this case, “600” is for the width in pixels (set it to 9999 to resize based on height), “400” for the height. The last parameter (true/false) is used whether to crop image to specified size (true) or proportionally resize it (false).

    More info: https://codex.www.ads-software.com/Function_Reference/add_image_size

    Hope it helps!

    Plugin Author Tomasz Sita

    (@tomaszsita)

    Thx Rumores, I mark as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do i add a new cropping size?’ is closed to new replies.