Stretch thumbnail to exact dimensions
-
Is there a way to make the post thumbnail function to stretch the thumbnail to exact dimensions both width and height?
<?php the_post_thumbnail(array(198,120,true)); ?>
<?php the_post_thumbnail(array(‘my-custom-size’); ?>I have tried these ways but both stops resizing the thumbnail when either one of the measures are fulfilled.
How can I add a css class to a section of thumbnails and use css instead?
Thanks
Erik
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Stretch thumbnail to exact dimensions’ is closed to new replies.