Simdi bir urun sayfamiz var ve orda urunun resmi (thumbnail) ve ismi geciyor. isme tikladiginda urunun sayfasina geciyor ama urunun resmine tikladigimizda resmin tam boyutunu gosteriyor, oysa ben isme tikladigimizdaki gibi resme tikladigimizda resmin ait oldugu yaziya gitmesini istiyorum

Kod asagidadir;
<div class="portfolio-item">
<?php
if ($post_video != '') {
echo('<a href="' . $post_video . '" class="thumbnail video portfolio-item-thumbnail">');
} else {
echo('<a href="' . $post_image . '" class="thumbnail portfolio-item-thumbnail">');
}
if ($post_thumbnail == '') {
?>
<img src="<?php bloginfo('template_directory'); ?>/timthumb/timthumb.php?src=<?php echo($post_image); ?>&w=150&h=120&zc=1" width="150" height="120" alt="" />
<?php
} else {
?>
<img src="<?php echo($post_thumbnail); ?>" width="277" height="152" alt="" />
<?php
}
echo('</a>');
?>
<h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
</div>Simdiden yardim edecek arkadasa tesekkurlerimi sunarim
