I created a view that displays my user profile picture. I created a template for this view using 'views-view-fields--name.tpl.php. This is the output I get.
<div class="view-content">
<div class="views-row views-row-1 views-row-odd views-row-first views-row-last">
<div class="field-content profile">
<div class="user-picture">
<img typeof="foaf:Image" src="/default_profile_picture.jpg" />
</div>
</div>
</div>
</div>
What I want to do is add a link to my image, like so:
...<a href="#"><img></img></a>...
But it keeps adding that line to just before the "user-picture" div, and I want it after it. Is there any way to achieve this? Custom templates seems to not do the trick.