<%= link_to( image_tag( attachments["avatar.png"].url, alt: @author, title: @author, width: 50, height: 50, border: 0 ), user_url(@author, :host => SERVER_URL), :target => "_blank" ) %> <%= body %>