Author Photo (or photo "avatar"?)

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
janec
Posts: 4
Joined: Thu Apr 27, 2006 2:11 am

Author Photo (or photo "avatar"?)

Post by janec »

Dear all,

I've been a WordPress fan for some time and was running 100% of my blogs on WP. I just discovered Serendipity and I'm impressed! It's really solved the "multi-user" issue that WP is still working on (I think), and the format has been user-friendly for a php-novice like me.

I did a search on this forum for "author photo" but didn't find what I was looking for, so if I asked a common question I apologize in advance:

I'm wondering if there's a way to display a small photograph - or an avatar - of an author next to the entries. This way the reader has a visual of who writes which entries immediately.

Thanks very much for helping and I can see myself converting a big chunk of my blogs over to Serendipity.

Jane
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

I don't use it, so I'm not 100% sure it is what you are looking for, but you might try the "User Profiles" event plugin. You can download it from Spartacus, of course, or from here: http://spartacus.s9y.org/index.php?mode ... s_event_en (it is about a third of the way down...)
janec
Posts: 4
Joined: Thu Apr 27, 2006 2:11 am

Post by janec »

Thanks, Matthew! I've downloaded it and will check it out.

At this point I'm still learning how to customize the templates so I can "port" the look from a WP blog that I'm currently trying to convert to S9Y (www.nakedmedicine.com).

Best wishes,
Jane
janec
Posts: 4
Joined: Thu Apr 27, 2006 2:11 am

Post by janec »

This is to follow-up my attempt to embed user pictures for each entry -

Per Matthew's suggestion I went to spartacus and downloaded the event plugin, which installed properly.

I opened up User Profiles in the admin panel, and clicked on [Edit].

I saw a tab called [Create Vcard] and think that's where I could embed pictures (the advanced options tab didn't have any fields to link or upload pictures).

I got this error when I tried to create Vcard:
Fatal error: Cannot redeclare class pear in /usr/lib/php/PEAR.php on line 86

Is this where I actually embed pictures, and if so, how do I fix this error?

Thanks in advance for your help!
Jane
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

I don't think the vcard part of the plugin is what you are looking for... (though it is bad that it is broken...)

After installing the plugin and playing with it I noticed this in the "Configure Plugin" menu (in the description of "Show user picture within entry?"):
If enabled, a picture for the user will be shown within each entry to visually indicate who has written the entry. The image file must be placed in the "img" Subfolder of your selected template and be called like the authorname. All special characters (quotes, spaces, ...) must be replaced by an "_" inside the filename.
So, you take an image, name it something like User_name.jpg (for example, if the users name was Joe Blogs the picture would be Joe_Blogs.jpg) and place it in the "img" folder under the template you are using. Then, each post will display the picture of the appropriate author.
janec
Posts: 4
Joined: Thu Apr 27, 2006 2:11 am

Post by janec »

Hi Matthew,

I see now.
Thank you for making the effort to download and install the plugin to help me out. I appreciate it!

:)

Jane
Post Reply