Featured Image thumbnail for post is cropping

  • Kailash

    #10447

    Hello,

    I am using below function to show featured image before post content.

    function featured_img_thumb() {
    ?>
    <span class="post-thumbnail">
    <?php the_post_thumbnail(); ?>
    </span>
    <?php
    }
    add_action('graphene_before_post_content','featured_img_thumb');

    but the image height is cropping in the post to 198px

    how can i increase it to show full height?

    example: http://www.sendmesms.in/na-chaaho-itna-judai-se-dar-lagta-hai

    Admin

    Syahir Hakim

    #46157

    You can specify the size to be used as an argument to the the_post_thumbnail() function:

    <?php the_post_thumbnail( 'full' ); ?>

    Kailash

    #46158

    Thanks,

    its worked…

Viewing 3 posts - 1 through 3 (of 3 total)

  • You must be logged in to reply to this topic.