<div class="pin_image">
<a href="<?php the_permalink(); ?>"><img width="191" height="auto" class="<?php echo $img_class; ?>"
src="<?php echo PricerrTheme_get_first_post_image(get_the_ID(),102,72); ?>" /></a>
</div>
上の画像を作成して、画像の縦横比に基づいて高さを動的に生成するにはどうすればよいですか? 幅は191pxになります。ピンタレストのように。