Image Link to Album

Rayston

Joined: 2005-05-23
Posts: 11
Posted: Tue, 2008-07-29 05:50

I want a wordpress page that has an image link to a specific album in my gallery. I have 3 albums and there will be 3 images, each linking to each album. Another twist is that the images I want to use are NOT in my gallery.

Any ideas on how to do this?

Thanx in advance

Rayston

 
OzDamian

Joined: 2008-04-30
Posts: 35
Posted: Tue, 2008-07-29 06:07

Is the image you want to use for the link to the albums in Gallery2 ?
If so, the easiest way would be to make it a highlight for the album (this is done in G2), them create a wp page, click the WPG2 tab, select the album/s then click insert.
Publish the new page.

Does that give you the result you wanted ?

 
OzDamian

Joined: 2008-04-30
Posts: 35
Posted: Tue, 2008-07-29 07:27

If you do not want to make the linking image a highlight for the album.
You can simply write a new page in WP, in HTML mode (not visual) copy and paste the following code

<a href="YOUR ALBUM URL"><img title="VIEW ALBUM" src="THE URL OF THE IMAGE YOU WANT TO US AS A LINK" />

Edit the text in CAPS to suit your needs ie: open the album you want for the first link, copy its URL and paste it in place of YOUR ALBUM URL, between the ""
Then open the image you want to use for the link in a browser, copy its URL and past it in place of THE URL OF THE IMAGE YOU WANT TO US AS A LINK
You can also edit the VIEW ALBUM text to what ever you want, this text pops up when you mouse over the link image.

Repeat the link for each album and edit the same way for the relevant image and album URLs

The only problem with this method is if you later change the Permalinks, you would need to edit this page and change the relevant URLs to suit.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Wed, 2008-07-30 04:12

or use the WPG2 Tags <wpg2>id</wpg2> id = the ID of the album thus you do not have to worry about URL changes ;)

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
Rayston

Joined: 2005-05-23
Posts: 11
Posted: Sun, 2008-08-10 22:07

Thank you very much this worked btw.