WordPress.org

Support

Support » Themes and Templates » How do I target individual thumbnail sizes?

How do I target individual thumbnail sizes?

  • thelackof

    @thelackof

    When uploading an image to media, the image will be converted into multiple sizes.

    I have seen many sites use various thumbnail sizes on their index page.
    How is this done?

Viewing 3 replies - 1 through 3 (of 3 total)
  • bravokeyl

    @bravokeyl

    check this set_post_thumbnail_size()

    You need to regenerate thumbnails after adding new sizes

    thelackof

    @thelackof

    Hey thanks for the reply.
    My theme is already creating the new thumbnail sizes with set_post_thumbnail_size

    The theme is creating about 3 various sizes.

    I’m just confused on how to use these individual sizes in various areas of my website. I may need to look further into my theme code, i’m just no professional with php or mysql

    bravokeyl

    @bravokeyl

    Which theme are you using ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I target individual thumbnail sizes?’ is closed to new replies.
Skip to toolbar