Anyone else run into this or have an idea how to fix it?
Even I face the same issue. No matter what size I select for the featured image, the displayed size is a very small thumbnail. My website is using Autofocus Pro theme. Is the behavior of feature image theme specific?
http://anubimb.com
If you want to be specific then try this code. Put this in your theme’s functions.php
add_theme_support( ‘post-thumbnails’ ); // Let wordpress knows that your theme supports post-thumbnails
set_post_thumbnail_size( 50, 50, true ); //Set default image size for every thumbnails you select and its 50px by 50px;
add_image_size( ‘single-post-thumbnail’, 400, 9999 ); //your Thumbnail size
=========== and in the loop add this code
the_post_thumbnail() //for default thumbnail size
the_post_thumbnail(‘single-post-thumbnail’) //for custom sizes you defined at the functions.php
The following code is already in the theme function php:
if (function_exists('add_theme_support')) {
add_theme_support('post-thumbnails');
add_theme_support('nav-menus'); // For Beta and RC versions of WP 3.0
add_theme_support('menus'); // For the final release version of WP 3.0
add_theme_support('automatic-feed-links');
What do I do with it, if anything?
Also, I don’t know what you mean by
=========== and in the loop add this code
the_post_thumbnail() //for default thumbnail size
the_post_thumbnail(‘single-post-thumbnail’) //for custom sizes you defined at the functions.php
Thanks for the help.
WordPress defines a loop something like this:
<?php if(have_posts()): ?>
<?php while(have_posts()): the_post();?>
<?php the_title() ?>// this is for title
<?php the_post_thumbnail() ?
//which you’ve defined earlier in yout theme’s functions.php
<?php endwhile; ?>
<?php endif; ?>