Title: [Plugin: User Photo] Output Bug?!
Last modified: August 19, 2016

---

# [Plugin: User Photo] Output Bug?!

 *  [flex1987](https://wordpress.org/support/users/flex1987/)
 * (@flex1987)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-user-photo/)
 * Hello you,
    there is a quite strange thing occuring in my blog which seems to
   be a bug to me.
 * I inserted the following code into theme/library/filters.php:
    ` function arras_post_aboutauthor(){
   $id = get_the_author_meta('ID'); $output = '<div class="about-author clearfix"
   ><a href="' . get_author_posts_url($id) . '">' . **userphoto_the_author_photo()**.'
   <div class="author-meta"><h4>' . sprintf(__('gepostet von %s', 'arras'), get_the_author_meta('
   display_name')) . '</h4>' . get_the_author_meta('description') . '</div></div
   >'; echo apply_filters('arras_post_aboutauthor', $output); }  Unfortunatlely,
   what I get as HTML Output is:
 * `
    **<img src="xyz/wp/wp-content/uploads/userphoto/flex.jpg" alt="flex" width
   ="150" height="100" class="photo" />** <div class="about-author clearfix"> (here
   goes the a tag in a correct way, but has no content) <div class="author-meta"
   >...</div> </div>  So the <img> is outside the <div> containing the rest of the
   author page. Any ideas? Thanks a lot in advance!

Viewing 1 replies (of 1 total)

 *  [Joakim Jardenberg](https://wordpress.org/support/users/jardenberg/)
 * (@jardenberg)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-user-photo/#post-1863130)
 * I see this to, something is very strange here.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: User Photo] Output Bug?!’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Joakim Jardenberg](https://wordpress.org/support/users/jardenberg/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-user-photo/#post-1863130)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
