WordPress.org

Ready to get started?Download WordPress

Forums

Unproportional Thumbnail Resize using add_image_size.. Possible? (1 post)

  1. Abhik
    Member
    Posted 1 year ago #

    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 600x300 pixels and I need it to be resized at an exactly 150x150 pixels. However, the image is being resized to 150x75. Here is the code I am using;

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

    What I am doing wrong?

Topic Closed

This topic has been closed to new replies.

About this Topic