WordPress.org

Ready to get started?Download WordPress

Forums

SHow first image of gallery Large instead of thumbnail (4 posts)

  1. jasonday
    Member
    Posted 3 years ago #

    Hi,

    I often have to upload a large main image and then also insert the gallery below that main image. Of course, that gallery includes that large main image.

    What I want to do is show the first image in the the gallery as large, so that I don't have to have repeat images.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    You can grab the first image uploaded to a post or page using get_posts.

  3. jasonday
    Member
    Posted 3 years ago #

    Hi Esmi,
    thanks for the response.

    get_posts, isn't applicable to what I'm trying to do.

    What I want to have happen, is in a post when I insert a WP gallery, I want the first image to appear at it's large size while the others are at normal size.

  4. karenalenore
    Member
    Posted 3 years ago #

    Hi jasonday, ever figure this out? I'd love to do the same...

    Thank you!!

Topic Closed

This topic has been closed to new replies.

About this Topic