Viewing 3 replies - 1 through 3 (of 3 total)
  • if (function_exists('add_theme_support')) {
      add_theme_support('post-thumbnails');
      add_image_size( 'main-post-body', 555, 393, true);
      add_image_size( 'wall-size', 200, 200, true);
      add_image_size( 'post-small-preview', 40, 40, true);
      add_image_size( 'home-page', 849, 400, true);
    }

    Then your going to have to regenerate the thumbnails by installing thumbnail regenrate plugin.

    You call it in your template:

    if ( has_post_thumbnail() ) {
    	the_post_thumbnail('whatever you named your thumbnail above');
    }
    Theme Author Konstantin Obenland

    (@obenland)

    @potentweb is right. It’s probably about the thumbnail size referenced in the the_post_thumbnail() calls. The Bootstrap doesn’t add another post-thumbnail size but uses the default 'thumbnail‘.

    BTW: You can filter the size with 'post_thumbnail_size', so you don’t have to replace every template tag.

    Thread Starter stemie

    (@stemie)

    Thanks guys that works ??
    post_thumbnail_size saves me some time.
    Much appreciated, thank you Konstantin and twitter for a great theme!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Theme: The Bootstrap] Change post-thumbnails image proportions’ is closed to new replies.