• fson

    (@fson)


    Hi,

    i hope you can help me. I want to display two different sizes of my featured image.

    1. the small thumb on the home (it’s worked fine)
    2. the same image in big on the single post.

    the problem is the complicated theme ??

    my code in the loop.php

    <div class=”featuredimage”>
    <?php
    if ( has_post_thumbnail()) {
    echo ‘ID) . ‘” >’;
    the_post_thumbnail();
    echo ‘
    ‘;
    }
    ?>

    i think i need a function or so??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Pioneer Web Design

    (@swansonphotos)

    In all likelihood, the theme uses the small thumb as featured image and the full size image (or medium or large thumb) in the post and CSS to size the image – sizing images with CSS is not optimal for your site visitors as the large file is sent and then has to be re-sized in the browser making a double hit for perceived site performance…

    The thumbs can be set to have different default sizes in settings>Media and you should seek out what the max size should be to fit properly into full posts without having to be re-sized in the site visitors’ browser.

    Changing the thumb size settings does not alter existing media or posts, just ones uploaded afterwards.

    Thread Starter fson

    (@fson)

    it doesnt work ??

    Pioneer Web Design

    (@swansonphotos)

    What doesn’t work?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Genesis Framework] Different featured image size’ is closed to new replies.