[Resolved] Image display based on username?
Ok, so I am also using bbpress. There I have a plugin that lets people upload an avatar. When the image gets uploaded, it gets renamed to their username in all lowercase. I want to display that image in my wordpress sidebar but for some reason can’t get it to do so.
Here is what I have…
<img src=”/forum/avatars/<?php echo $strtolower($user->user_identity); ?>.jpg” alt=”avatar” />
Can anyone help?
- The topic ‘[Resolved] Image display based on username?’ is closed to new replies.