WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Author Image Plugin? (4 posts)

  1. mlanger
    Member
    Posted 8 years ago #

    I'm looking for a plug-in that can automatically associate an image in a specific folder with a post author and display that image in a post. If there is no image for an author, there should be no error message. You can see an example for the effect I want at my test site, http://www.gilesrd.com/. Rather than manually insert the image, I want the plugin to do it for me (and my authors, who aren't very computer saavy). Any suggestions? Please provide links.

    Thanks and Merry Christmas!

  2. schestowitz
    Member
    Posted 8 years ago #

    Your site seems to have been down for a while... oh, finally it's there... just very slow to respond.

    So you want to manage different directories that contain images of different authors,.The built-in image upload feature in WordPress 2.0 is close, but not ideal. What I suggest you do is teach your colleagues/friends how to use an FTP client and enable them to list the content of the directory where their images are put. The image location can then be copies and pasted into the post.

    As I said, it's worth looking at image management in WordPress 2.0 which will be officially released very, very soon.

  3. mlanger
    Member
    Posted 8 years ago #

    Actually, I came up with my own fix. I included an img src tag right before the tag that displays the post content. I included an align="right" instruction and a variable that would pull out the author's user ID number. That ID is appended to a path where all author images reside, named with their user numbers . So when I post a message, it automatcially pulls up the image named 1.jpg and voila!

    You can see the results at the Web site, which is now live at http://www.wickenburg-az.com/. What's cool is that if there is no picture, there's no error message.

    Not a bad fix for someone who know squat about PHP, huh?

    But thanks for your help!

  4. Matt Banks
    Member
    Posted 7 years ago #

    mlanger - would you mind sharing where you put the code and all that? I want to do something similar on my site (users are begging for it). Thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags