• 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.

Viewing 5 replies - 16 through 20 (of 20 total)
  • Hi buskerdog,
    try to change in “multiple-galleries.js” file on the line 61 (put commas between picture IDs):
    $to_include += '' + $imgid + ',';

    Also posted here.

    I just ran into this problem today.

    I coded the [gallery] with EXCLUDE=”1,2,3,4″ and it did nothing. I assigned the pictures numbers but to no avail then tried again, I even used the name of the picture instead of the assigned number.

    It is a pain in the bum, but I loaded the images separate in the media upload area of wordpress, copied the thumbnail and main image location and HTML scripted my own gallery.

    Hopefully the upgrade to Word press 3 will acknowledge this, it is kind of a pain!

    The EXCLUDE feature would be the ideal fix for me for this issue, but it doesn’t seem to do anything. I’m using 2.9.3.

    Ok EXCLUDE does work for me. I just didn’t know where to get the image ID from. You have to insert the image into the post, then look at the HTML. You’ll see the ID in the CSS class that WordPress generates for that image’s IMG tag. For instance, mine image’s IMG tag had:

    class=”size-medium wp-image-1017 alignnone”

    So the image ID is 1017. I used the short code:

    [gallery exclude="1017" link="file" orderby="menu_order ASC"]

    and it left that image out of my gallery. It would be great to have this feature integrated into the GUI in future versions.

    There is an easier way to get the ID, but it still really needs just putting right in the media uploader as like a checkbox or something.

    Go to the main media library in your WordPress sidebar, and when you click ‘Edit’ on any of them the ID will be in the URL. You can obviously also preview the URL by just hovering over it.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘How to exclude images from post gallery but keep in post?’ is closed to new replies.