[wp-hackers] Looking for something for Author photo management

Viper007Bond viper at viper007bond.com
Sun Jun 8 05:13:41 GMT 2008


To expand on that:

<img src="<?php echo get_bloginfo('wpurl') .
'/wp-content/authorimages/author_' . $post->post_author . '.jpg'; ?>"
alt="<?php the_author(); ?>" />

Then just name your images "author_1.jpg", etc. with the number being their
userid.

On Sat, Jun 7, 2008 at 7:36 PM, Stephen Rider <wp-hackers at striderweb.com>
wrote:

> You can edit the theme to do something like:
>
> echo '<img src="' . $author . '_pic.jpg">
>
> No hacks, just a small addition to the theme.
>
> Stephen
>
>
> On Jun 7, 2008, at 4:57 PM, Paul Menard wrote:
>
>  Thanks Aaron. Was really wanting to avoid hacking code. My thought is
>> someone somewhere out there has already put together a plugin to allow
>> author photo management. And I just found a plugin:
>> http://wordpress.org/extend/plugins/user-photo/
>>
>> P-
>>
>>
>> On Jun 7, 2008, at 4:53 PM, Aaron Brazell wrote:
>>
>>  get_avatar() is pluggable if you want to hack together an alternate to
>>> gravatar...
>>>
>>>
>>>
>>> On 6/7/08, Paul Menard <paul at codehooligans.com> wrote:
>>>
>>>> Working on client Intranet type blog. The bloggers will be upper
>>>> management folks and the readers the general employees. They want to
>>>> associate a photo with each post. So far nothing major, use WP 2.5.1
>>>> and the built-in Gravatar support. Not quite. The site will be
>>>> internal ( as in behind a firewall). They want to manage the users and
>>>> photos internal.
>>>>
>>>> I noticed on the WordPress.com sites under the author edit there is a
>>>> nice 'My Picture' box. Is that code publicly available??
>>>>
>>>> Outside of that I'm looking for a plugin (or someone's hack) to manage
>>>> an author photo. Sure, I can write my own but why do that when I can
>>>> use other's work.
>>>>
>>>> Anyone have a suggestion?
>>>>
>>>>
>>>> Paul
>>>> _______________________________________________
>>>> wp-hackers mailing list
>>>> wp-hackers at lists.automattic.com
>>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>>>
>>>>
>>>
>>> --
>>> --
>>> Aaron Brazell
>>> web:: www.technosailor.com
>>> phone:: 410-608-6620
>>> skype:: technosailor
>>> twitter:: @technosailor
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>>
>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/


More information about the wp-hackers mailing list