%li{:class=>"span3"} .thumbnail %a{:href=>"#"} %img{:alt=>image.filename,:src=>attachment_download_path(image.parent_id,image.idx),:size => @current_user.prefs.msg_image_thumbnail_size,:title=>image.filename} .caption %h5 = link_to "".html_safe, attachment_download_path(image.parent_id,image.idx) = image.filename %small = size_formatter(image.getSize) -#