Image with link to parent album, but not a thumbnail.

gconklin

Joined: 2007-07-06
Posts: 3
Posted: Sun, 2007-11-04 15:29

Wordpress 2.3.1
WPG 2.3.0.2
Imageblock 1.1.0
Imageframe 1.0.5

Hello-

I was looking for a way to get the the images I put into my posting to be a "full sized" version of the image, but be a link to the album. So essentially, the IMG tag points to the image and the HREF points to the album. I don't really want the full sized version, the "WPG2 tag of image" would be better since it can select the size closest to what I want to display, however it only does a link to the image itself and I'd rather it go to the album.

In the drop down list, it seems there's only one way to link to the parent album, and that's with a thumbnail.

What I'm trying to do is select a few choice pictures from an album, but clicking any of them from the published post will take you to the full album.

Any thoughts about how I could go about doing this, even if it means mucking around in some code?

Thanks,
-gregg

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2007-11-06 22:13

Sorry I must have missed this post before. Unfortunately what you are looking for is not something we support, technically you could generate links like this by manipulating the Gallery2 URL Generator but unless you have a good understanding of php what you are looking for is pretty advanced..
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Tue, 2007-11-06 22:25

You could do what you want to do by changing the "Fullsize with link to image" in g2image/jscripts/functions.js. You'd have to change it so that it inserts the album link instead of the image link. Take a look at it. If you can't figure it out quickly, I'll take a look and post some code. I'm on my way out the door now and can't right now.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website