Stumped with php
-
I am simply trying to resize an image derived from the featured image. How do I scale the image down by exact w x l or %? Here is the cade:
<?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. echo '<img src="'. the_post_thumbnail() .'" />'; } ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Stumped with php’ is closed to new replies.