WordPress.org

Ready to get started?Download WordPress

Forums

Different sized images in post (4 posts)

  1. ramseyp
    Member
    Posted 5 years ago #

    Hi all,

    I'm building a site where I've got images attached to pages. I'd like to be able to display thumbnails on respective pages, which I've got the code to make happen, but I want to have the first thumbnail actually be the medium-sized version of the image. In other words:

    first image - medium-sized version
    remaining images - thumbnail sized versions.

    Any thoughts? I've seen documentation where people use an offset but that's been done when displaying images from posts, offset by a post.

  2. sabbry
    Member
    Posted 4 years ago #

    This is exactly what I need!

    <first image>
      <the_content>
      <5 thumbnails in a ul>

    Anybody know how to do this?

  3. Shane G
    Member
    Posted 4 years ago #

    Hi,

    You either need to set the image size settings from wordpress admin area ->settings -> media settings section or apply the desired settings from style.css - stylesheet file to img tags.

    Thanks,

    Shane G.

  4. sabbry
    Member
    Posted 4 years ago #

    I did find this.

    However, it doesn't allow me to separate a post thumbnail loop from the main image I want to use for a post.

Topic Closed

This topic has been closed to new replies.

About this Topic