Help: Link to Album Thumbnail depending on Post Author

awldickinson

Joined: 2008-03-02
Posts: 2
Posted: Sun, 2008-03-02 18:15

Hello,

First I must say that this plugin is fantastic. I was hoping to integrate the blog I use with several friends to keep in touch across a long distance as well as share the photos we've been collecting for almost a decade. Tripping over this was almost like a sign. Congrats indeed on what you've done so far and I eagerly await what else is to come :)

But I have been racking my brain and combing the web looking for a solution to this post's idea. I'm pretty sure this hasn't been integrated just yet (as I read on another post) but I want to be sure.

On each post, a headshot of the author is shown. Using WP tags, I have the link embedded into "the loop" so it knows which picture to display based on the author. What I would like to do is the same premise, but have it link to the author's Gallery album thumbnail. I know the ID values that I need, but when I insert <wpg2> tags into the loop, it's not converted into the appropriate image: it simply shows the ID value in plaintext.

Just to beat a dead horse, if author X writes a post, then it goes X's album (using their ID) and returns their current album thumbnail as their post picture.

Right now it's just a hassle to change profile pictures and this would be a way that everyone can update their own mugshot when they wish.

Is there anything that I can do at this point or is this a feature TBA?

Thanks again,
Andrew

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2008-03-02 22:07

awldickinson,

Programmatically this would not be hard to do, Gallery2 has all the functionality to do something along the lines of this.. Do you know php code as I would be happy to point you in the direction you would need to go?

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

 
awldickinson

Joined: 2008-03-02
Posts: 2
Posted: Mon, 2008-03-03 01:48

I get PHP code, yeah. All my efforts trying flopped terribly on this one though. I wouldn't say I'm proficient, but I get it.

Please! Any help would be fantastic! Thanks, ozgreg.

Cheers,
Andrew