Picture Gallery problem
-
Hey everybody,
I’m having a problem with the picture gallery.
I want to embed two pictures within my post, and have three more pictures in a picture gallery. But the picture gallery automatically puts all five pictures in it.
I can’t figure out how to select only the pictures I want in the gallery and omit the others.
Our website is http://www.thejetpacker.com. Any help would be greatly appreciated. Thank you in advance!
-
I assume you have clicked on the “Insert Gallery” link instead. You will need to click on the “Show” link and there should be a link called “Insert into Post”.
I hope that helps.
I clicked “Insert Into Post” for 2 pictures.
Now I want a gallery of 3 different pictures.
The problem is, the gallery puts in all 5 pictures instead of the 3 I want.
How do I select what pictures I want in the gallery and omit the others?
Is this gallery in a separate page/post?
If it isn’t and it is on the same page/post as the 2 pictures, you’ll have to use the “insert to post” link, to insert the 3 pictures.
If the gallery is on a separate page, the only way is to upload the 3 images into this gallery page and then click on insert gallery which should display the three images only.
This is how i’ve always set up my pages as I have different images for different pages. So all I did was insert the images related to this page and click on insert gallery.
I hope this helps.
Hey miruru,
Thanks for bearing with me. I get what you’re saying, but that doesn’t work for what I’m going for.
I have 2 pictures embedded in the post.
I have 3 additional pictures that I want to put in a gallery in the same post.
But the gallery won’t let me choose the 3 pictures I want. It puts all 5 pictures in. So it’s repeating the first two pictures, which I don’t want.
I want to be able to insert some pictures into a post, and then have a gallery of different pictures in the same post. Is there a way to select the specific pictures I want to put in the gallery (instead of the gallery automatically putting all 5 pictures in)?
Hi jetpacker,
Unfortunately, i’m not quite sure how this can be achieved. I know what you are trying to do though. Maybe someone can help with this. Anyone?
The only way i know, would be to insert your 2 pictures using the “Insert into Post” and then use the “Insert into Post” link again for the 3 other pictures. Otherwise I can’t think of another way.
I know it’s been some time since you enquired about this, and I’m not sure if you found a solution but while searching for one and coming across this post, once I’d figured it out I thought I’d add the work around I came up with.
If you upload the static images you want into either a draft or private post then preview it to get the image locations by right clicking on the image in the preview page and selecting View Image. Then in the post you want both static and rolling images, add the images you want to appear in the slide show as you would normally so that they populate the gallery and then add the static images using the Insert from URL option and inserting the URL locations you got from the View Images from the previous post. That way the images will appear in the post but won’t be included in the images added to that page’s gallery.
Would be handy if you could just tick which images you want to include from the gallery but I’m sure (if it hasn’t been done already) it will be done at some point.
Hope that helps.
There are two answers to this question that involve varying amounts of work.
The first answer works with basic wordpress. You need to create a different page or post, mark that page or post private, and upload the images for the second gallery into that page *only*. You will then need to get the ID for that page. Depending on how you have configured wordpress this process will vary. If your permalinks are set to the default setting, then the ID for the page is the part of the permalink after ?p=, for other types of permalinks the easiest thing I’ve found is to create the page, put the images on the page you want, publish the page (with it marked private this doesn’t *really* publish it), then view the page, and at the bottom where there is an Edit Page link or button, mouse over that link and get the popup, and in that popup will be the ID. It will be the number after the post= part.
Write down that ID number, then go back to the page where you want both galleries to show up. Presumably you already have the images for the first gallery uploaded to this page, and you already have the first gallery in place. Simply add a second gallery to the page where you want the second set of images to show up. Once the gallery is added, switch from the visual editor to the html editor and go to the second gallery code. Inside that gallery, add id=”<number>” to the second gallery item where <number> is replaced by the ID of the private page you created above. This will now give you two different galleries on the same page.
The long and the short of this is that galleries are tied to page IDs in the database. To split galleries up, the pictures must be *uploaded* to different pages as it’s the upload process that ties the picture to the page. Once they are uploaded on a page and exist in the media library attached to that page, they can be *displayed* on any page by simply using the gallery item with the id=”<number of page pictures were uploaded to>” technique. So, private pages or posts can be used to split up pictures into any number of different galleries that you wish.
The second option, which is a much heavier solution, is to use something like Gallery2 to handle your photos, and use the WPG2 plugin to integrate it into WordPress.
The topic ‘Picture Gallery problem’ is closed to new replies.