WordPress.org

Forums

How do I target individual thumbnail sizes? (4 posts)

  1. thelackof
    Member
    Posted 1 year ago #

    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?

  2. bravokeyl
    Member
    Posted 1 year ago #

    check this set_post_thumbnail_size()

    You need to regenerate thumbnails after adding new sizes

  3. thelackof
    Member
    Posted 1 year ago #

    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

  4. bravokeyl
    Member
    Posted 1 year ago #

    Which theme are you using ?

Topic Closed

This topic has been closed to new replies.

About this Topic