Custom Image Size (Resize Only, Unproportionate and No Crop) (1 post)

  1. Abhik
    Posted 3 years ago #

    I am using this piece of code

    add_theme_support( 'post-thumbnails' );
    add_image_size( 'big-thumb', 640, 213, true );

    However, the image thumbnail isn't being generated with that dimension. The height always remain 213px, and the image thumbnail is being generated proportionately with the height in spite of my crop setting.

    What to do to get a 640x213 pixels thumbnail (resize only) from any uploaded image dimension?

Topic Closed

This topic has been closed to new replies.

About this Topic