WordPress.org

Support

Support » Themes and Templates » Custom Image Size (Resize Only, Unproportionate and No Crop)

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

  • Hi,
    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 640×213 pixels thumbnail (resize only) from any uploaded image dimension?

  • The topic ‘Custom Image Size (Resize Only, Unproportionate and No Crop)’ is closed to new replies.
Skip to toolbar