I have a WP site whose center column is variable width.
I would like the featured image to appear front and center - 100% width. If I hard code the image path using a plain old image tag with width=100% it looks exactly as I want.
For obvious reasons I don't want it hard coded.
I'm currently using this but the image goes outside of the bounds of the column.
<?php echo get_the_post_thumbnail($id, 'full', array('class' => 'aligncenter')); ?>
So, my question is this.
How can I mimic the behavior of
<img src="myimage.png" width="100%" /> but with the