Jump to content
Sign in to follow this  
bobborsongmailcom

Linking a post to a gallery image

Recommended Posts

bobborsongmailcom

I was wondering if I could insert a gallery of images and have the image link point to a different url rather than back to the image file itself? Right now, your options are to either link the image to the image file or to an attachment page. Maybe there is something simple that would allow what I need; or would I need to alter the coding to allow one url to link to the image (so that the gallery image could be created) and another url which would point the reader to specific post once created. The idea is that I set up a page full of gallery images and my readers would see an image they liked, select it and be brought to the article that featured that image. Hopefully this makes sense. Thank you

Share this post


Link to post
Share on other sites
bryan-hadaway

You can use the carousel with posts. Look into your carousel settings. Thanks, Bryan

Share this post


Link to post
Share on other sites
bobborsongmailcom

I am aware of the carousel settings but that is not what I want. Am I asking for something that can't be done or is it something that I could hire someone (like Pagelines) to modify for me. Thanks

Share this post


Link to post
Share on other sites
bobborsongmailcom

No, not NexGen and not a Custom Gallery. I really enjoy the iBlog template (my site is www.lifeofanarchitect.com) and I am trying to see if I could use it for my firms website. The plan was to have a tab at the top the read "Projects" and it would bring you to a page (post) that was nothing but thumbnails from an inserted gallery. You can go here to see something similar - http://www.lifeofanarchitect.com/context-and-inspiration-a-rambling/ but there wouldn't be any text, just the gallery images. The images would all be from different projects and if a visitor saw one they liked, they could click on the image and it would take them to a post on that project.

Share this post


Link to post
Share on other sites
cmunns

Yes, but doesn't the nextgen plugin have a shortcode you can use to insert a gallery like this?

Share this post


Link to post
Share on other sites
catrina

By tab at the top, do you mean link in the navigation bar? If you wanted the thumbnails to link to URLs outside of the website, you can edit the links for each thumbnail in the Post editor (select the image, open its settings, and change the Link URL).


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
bobborsongmailcom

cmunns - I didn't think the arrangement of the nexgen plugin could look like and exist on the page like the default WP gallery feature. Catrina - what you are describing is true but only when you insert the picture into the post. When the picture only exists within the gallery, the url points to the url where the picture is stored (i.e. media library). I understand why it does that, (where else would they be getting the picture from?) but I want to click on an image within the gallery and have it link to a different post. Here is an example of something similar on a non-wordpress site (I think) http://www.buchananarchitecture.com/architecture/ A visitor comes to this site, clicks the "Architecture" tab on the navigation bar and they end up on a page full of images only. They can then see an image they like and when they click it, it brings them to the page for that project. Hopefully this information helps explain what I am trying to achieve. I am also willing to retain professional services to modify the code to allow this to happen.

Share this post


Link to post
Share on other sites
Andrew

Hey Rob, Just catching up a little, but isn't this an issue with the nextgen plugin? Could they help you solve it?

Share this post


Link to post
Share on other sites
bobborsongmailcom

I don't believe that this is a nexgen plugin issue. On the iBlog template, you still use the carousel template but use the nexgen plugin to populate the images. That is not what I am looking for. I think if you look at the site link I provided: http://www.buchananarchitecture.com/architecture/ it will clarify what I am trying to accomplish. Thanks

Share this post


Link to post
Share on other sites
bryan-hadaway

Hi Robert, After looking at your example, this has nothing to do with PageLines, iBlogPro, WordPress, NextGen or any other plugin or service... this is simply custom code; From the example; HTML: `

Open House ThumbnailHouse on the Park ThumbnailLookout ThumbnailBreezeway House ThumbnailCube House ThumbnailBel-Aire Park ThumbnailSunrise House ThumbnailReflecting Pool HouseOak Court ThumbnailInset House ThumbnailElements ThumbnailPool House ThumbnailEnvelope Thumbnail6862 Residence Thumbnail
` CSS: ` .galleryleft { padding: 0 10px 6px 0; } .gallerycenter { padding: 0 0 6px; } .galleryright { float: right; padding: 0 0 6px 10px; } .squarethumb { margin-right: 110px; } ` This code combined with specific sizes of the thumbs is how they accomplished what you see. If you're unable to adapt the code for your own use you may need to hire someone; http://www.pagelines.com/pros/ Thanks, Bryan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×