<%= render :layout => 'layouts/file' do %>
  <%= render :partial => 'common/image', :locals => {:alt => @attachment.filename, :path => url_for(url_to_attachment(@attachment, {:download => true}))} %>
<% end %>