how i can increase Featured thumbnails size?

when i open any post then 1st image show my featured image. i want to increase this size . see it or . i already try to increase from single.php to change this code

<p><img src="<?php echo get_template_directory_uri(); ?>/images/thumbnails/thumbnail-leadimg.jpg" width="610" height="320" alt="<?php the_title_attribute(); ?>" /></p> 

but it’s not working .
my orginal code

Read More
<p><img src="<?php echo get_template_directory_uri(); ?>/images/thumbnails/thumbnail-leadimg.jpg" width="610" height="225" alt="<?php the_title_attribute(); ?>" /></p>

i don’t understand how i can change it. my site http://www.dewdropzone.com .

Related posts

Leave a Reply

3 comments

  1. It’s probably because the original image is not big enough.
    You can make the image display bigger via CSS :

    .post_thumbnail{
        height: 320px
    }
    
  2. You can try something like this:

    <!-- The Post Thumbnail function is active by default, but this line of php will make it display.-->
    <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" target="_blank"><?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(150,150, false), array("class" => "alignleft post_thumbnail")); } ?></a>
    <!--Post Thumbnail Ends-->
    

    This part in particular will control the size of your thumbnail regardless of the size of the image:

    the_post_thumbnail(array(150,150, false) 
    
    /* width, height, option to crop 
    Generally the default is set to true in order to crop the image*/
    

    And the it is wrapped in anchor (link) tags so that if the person wants to view the original image size all they have to do is click on it to enlarge it and view it at full size.

    You can also standardize your featured image size via your functions.php file. Just add this to your functions.php:

    add_theme_support('post-thumbnails');
    
    // If not the standard size, state your size too
    set_post_thumbnail_size( 150, 150, false );
    

    This will standardize the size of the featured image thumbnail size rather than putting the sizing attribute in your theme template files.