• Worked in 3.0-beta1, but now they have same hight and various width.

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

    “true” doesn’t seem to work anymore.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same problem here, the thumbnails always keep the original height and resize the width to fit the div… I want to do the opposite, adjusting the width of the image to the width of the div and scaling the height of the image to fit, keeping the original ratio of the image … any help plz?

    Got it … found the answer here : https://nenuno.co.uk/creative/wordpress/adding-post-thumbnails-to-wordpress-3-0/

    for me , only adding this line <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(200,160), array("class" => "alignleft post_thumbnail")); } ?>

    before the content in the loop solved the problem.

    Good luck!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Thumbnails incorrect’ is closed to new replies.