WordPress.org

Support

Support » How-To and Troubleshooting » Changing thumbnail size

Changing thumbnail size

  • Hello! I’m trying to change the size of the featured image, but I’m not being capable. I’ve tried:

    the_post_thumbnail( array(280,160) );

    And included in functions.php this:

    add_theme_support( 'post-thumbnails' );
    set_post_thumbnail_size( 280, 160, true );

    But it only obbeys the height parameter. Why is that? Any idea?

    Thanks a lot!

Viewing 1 replies (of 1 total)
  • Nobody can help? I can’t understand why it isn’t working. Is it impossible to set an horizontal cropped featured image?

Viewing 1 replies (of 1 total)
  • The topic ‘Changing thumbnail size’ is closed to new replies.