Forums

How to exclude images from post gallery but keep in post? (5 posts)

  1. Caracco
    Member
    Posted 5 months ago #

    This might seem like a strange question, but I'd really like to know if it's possible to add images to a post and not have them all show up in a gallery?

    Now first things first, I know how to insert an image as full size, and I know how to insert a gallery post, but can I do them separately in the same post?

    Here is an example from my blog. Ignore my fangirling.

    As you can see, the first image is an illustration, and the rest are photos. I don't want the illustration to show up with the photos. Let me know if this is possible, thanks~! I hope it isn't a really simple answer, lol.

  2. esmi
    Member
    Posted 5 months ago #

    Upload the illustration using Admin/Media/Add New. This will ensure that the illustration does not have an association with any specific post. When creating the post, use the Gallery tab in Add Media to locate the illustration and add it to your post. Then upload your other photos as per normal whilst editing the post and publish the post's gallery.

    An image will only be included in a post's gallery if it has a direct association with that post (ie been uploaded whilst creating/editing the post).

  3. iblogie
    Member
    Posted 5 months ago #

    That's exactly what I did, esmi -- uploaded an image via Admin/Media/Add New. Like Caracco, I also want to have an image appear on a post, but not have this particular image appear in the gallery grid on the post.

    But, when I inserted the image in question to the post (from Media Library), it was automatically associated with the in-post gallery, and appeared in the post's gallery grid. When I checked the post's gallery, this image was indeed in the gallery.

  4. Brand Relations
    Member
    Posted 4 months ago #

    Indeed, I tried it too and it doesn't solve the problem. I was googling to find out if there's someone who made an attempt to help us :)

    Here's the information that i"ve found

    Filter images from WordPress [gallery]

    Hope it will be useful :)

    Best Regards,
    Brand Relations

  5. trebor79
    Member
    Posted 2 weeks ago #

    The easiest way to do this is to upload your images for your gallery in your post like normal and add the gallery to your post.

    Then, as esmi mentioned, go to Media> Add New. Add the images you don't want to appear in your post gallery to the Media Library.

    Copy the link to each image and use the plain 'ol Insert/edit image button (or img from HTML view) in the post. Paste the links to the images there.

    A bit of a hassle, but it works.

Reply

You must log in to post.

About this Topic