Without looking at it again I thought $urr carried stuff over to other parts. Anyways if in the database a users avatar is stored as a link to the image, so "datas/avatars/imagename.jpg" then the tag should only put out "datas/avatars/imagename.jpg" so I don't understand where it is getting the "<img src="" /> part from, to be able to just use the tag in your tpl file to display the image? It's a little confusing...