WordPress.org

Support

Support » Themes and Templates » Unproportional Thumbnail Resize using add_image_size.. Possible?

Unproportional Thumbnail Resize using add_image_size.. Possible?

  • Abhik
    Member

    @itsabhik

    Hi,
    I am trying to soft resize am image using WordPress add_image_size.
    I set the $crop to false yet the thumbnail is being resized in proportional dimension.

    For Example, I have an image with 600×300 pixels and I need it to be resized at an exactly 150×150 pixels. However, the image is being resized to 150×75. Here is the code I am using;

    add_image_size( 'mythumb', 150, 150, false );

    What I am doing wrong?

  • The topic ‘Unproportional Thumbnail Resize using add_image_size.. Possible?’ is closed to new replies.