How can make related posts thumbnails larger

hi friends

i need your help

kindly open this

you can see related posts below content, its thumbnails are smaller! i wanted to increase the image size

i wanted to look like this related posts below content

can you guide me proper code? which i can insert or edit


Not a very clear question.
did you re size the images in something like photoshop/gimp already then and it didn’t work?

thanks for replying

i am using wordpress, this is a code, check , might it helps you

<?php if($options[‘mts_related_posts’] == ‘1’) { ?>
<?php $categories = get_the_category($post->ID); if ($categories) { $category_ids = array(); foreach($categories as $individual_category) $category_ids = $individual_category->term_id; $args=array( ‘category__in’ => $category_ids, ‘post__not_in’ => array($post->ID), ‘showposts’=>3, ‘caller_get_posts’=>1, ‘orderby’ => ‘rand’ );
$my_query = new wp_query( $args ); if( $my_query->have_posts() ) {
echo ‘<div class=“related-posts”><div class=“postauthor-top”><h3>’.__(‘Related Posts’,‘mythemeshop’).‘</h3></div><ul>’;
while( $my_query->have_posts() ) { ++$counter; if($counter == 3) { $postclass = ‘last’; $counter = 0; } else { $postclass = ‘’; } $my_query->the_post();?>
<li class=“<?php echo $postclass; ?>”>
<a rel=“nofollow” class=“relatedthumb” href=“<?php the_permalink()?>” rel=“bookmark” title=“<?php the_title(); ?>”>
<span class=“rthumb”>
<?php if(has_post_thumbnail()): ?>
<?php the_post_thumbnail(‘related’, ‘title=’); ?>
<?php else: ?>
<img src=“<?php echo get_template_directory_uri(); ?>/images/relthumb.png” alt=“<?php the_title(); ?>” width=‘82’ height=‘60’ class=“wp-post-image” />
<?php endif; ?>
<?php the_title(); ?>
<?php } echo ‘</ul></div>’; }} wp_reset_query(); ?>
<!-- .related-posts –>

i wanted to change the images width and height

i wanted to similar like this

thanks, waiting

well. first off: should mention as much pertinent info as possible in the original post. Like mention at that time that is it on wp
2.Might be better off in the wp section, not css. wp function.php I believe is where you’d set the size. I used.

add_theme_support( 'post-thumbnails' );
//set_post_thumbnail_size( 50, 50, true );

A good series of tutorials for you to check out is at

in his them to wp section he covers thumbnails.

Good luck