Welcome! To use this support forum, please Login or Join Today!

   

Post Image Segregation

{name}
Rank

Total Posts: 17

Joined 2011-09-24

PM

 

Having trouble inserting some images. In my “Big Introduction” I inserted 9 window type images into my “Gallery”. Then when I go down to “Feature One” and insert the image there it ends up in my “Gallery too. I only want the “We Offer Pella” picture in “Feature One” not up in the top too. I tried selecting “Post to URL” and “Insert to Post” when adding the single image “We Offer Pella” to “Feature One” but I can’t seem to keep it out of the “Gallery” in “Big Introduction”.

Is my sequencing off, do I need to come in from the back-end or maybe I am missing something?

http://www.seamlessremodeling.com/services/windows/

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Any time you upload an image to a post, it becomes an “attachment” which automatically adds it to the [gallery] shortcode.
http://codex.wordpress.org/Gallery_Shortcode

There are a few options. You could use the “exclude” parameter for those images e.g;

[gallery exclude="1,2,3"]

You can also use the “include” parameter if you only want to include a few images in the gallery.

[gallery include="23,39,45"]
{name}
Rank

Total Posts: 17

Joined 2011-09-24

PM

 

Probably an easy question but I can’t find it. How to I find, get and set post ids and/or attachment ids?

Also, on a code pasting note. I do see [gallery link=“file” columns=“9”] for my nine columns when I figure out how to get the ids and decide whether to include or exclude do I paste that code right next to this maybe with once space and before the ?

HTML view for the page:

[gallery link=“file” columns=“9”]   © 2011 Harvey Industries, Inc.

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

You would just put them in the brackets like so:

[gallery link="file" columns="9" exclude="1,2,3"]
{name}
Rank

Total Posts: 17

Joined 2011-09-24

PM

 

Total WP beginner here.

...how do I find the id’s for each image there now so I know the ones to include or exclude.  I have 10 images in the gallery, 9 I want in my “Big Introduction” where do I find the id reference numbers so I can exclude the one I don’t want?

...then in my “Feature Two” when I add an image I’ll add the exclusion for the too and when select the image from my computer just do “Post to URL” and “Insert to Post”?

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Per the instructions on the WordPress page:
http://en.support.wordpress.com/images/gallery/

Note: To get an attachment ID for an image, go to your Media Library and hover over the image title you want to exclude. You can find the ID in the URL (the number after attachment_id=).


Not very intuitive if you ask me, but that’s the only method I know of for now.