Forums

author image with posts (2 posts)

  1. Sushubh
    Member
    Posted 4 years ago #

    just wanted to know if a plugin is avialable which does this:

    someone registers to become an author
    he visits his profile page
    he can upload his photo on the profile page
    this image is than used in his posts on that multi-user blog

    i guess a rough way will be to tell the author to upload the image with in userid.jpg format and i can call the authorname.jpg using php tag. but it still would be a problem. it some plugin can manage it automatically, it would rock!

  2. dafinga
    Member
    Posted 4 years ago #

    This code will get the image for teh author. What I do is get the people to sign up send me a 50x50 image or I make a default one with there username as the .jpg file. This than pulls their image in front of their post.

    I also did some CSS of where the location of the image lays in the blog, but that is up to you.

    I don't have a solution for you dealing with the upload function plugin.

    <img src="directory location""<?php the_author(); ?">.jpg alt="<?php the_author(); ?>" />

Topic Closed

This topic has been closed to new replies.

About this Topic