Featured image 150×150 thumbnail?
-
Hello,
I’m using the Featured Image function, I insert the image into the post with this line of code:
<?php if (has_post_thumbnail( $post->ID ) ): ?> <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>The only problem is that it shows the image in it’s full size. What I want, though, is to show the WP-generated thumbnail of that image of the size 150×150. Is there a simple way to do that?
The topic ‘Featured image 150×150 thumbnail?’ is closed to new replies.