- if image_file.file?
  #image_file.image_file.thumbnail{:id => image_file.id, :data_thumb => image_file.file.large.medium.small.thumb.url, :data_id => image_file.id, :data_name => image_file.name, :data_description => image_file.description, :data_tags => image_file.tags, :data_show_url => admin_image_file_path(:id => image_file.id, :manager => params[:manager], :multiple => params[:multiple]), :data_edit_url => edit_admin_image_file_path(:id => image_file.id, :manager => params[:manager], :multiple => params[:multiple]) , :class => ("new" if @image_file_create)}
    %a{:name => "image_file_#{image_file.id}_anchor"}
    .img.QI_background_resize{:style => ("background-image:url('"+(image_file.file.large.medium.small.thumb.url).to_s+"?u="+image_file.updated_at.to_s+"');")}
    
    .name
      .trunk=image_file.name
      =link_to ic(:"rotate-left"), rotate_admin_image_file_path(:id => image_file.id, :direction => "right"), :remote => true
      =link_to ic(:"rotate-right"), rotate_admin_image_file_path(image_file), :remote => true
      &nbsp;
      =link_to ic(:download), image_file.file.url, :target => "_blank"
      &nbsp;
      
      = link_to i(:"check"), "#",:onclick => "manager_send_image_file("+image_file.id.to_s+");return false;" if params[:manager] and !params[:multiple]
      =link_to i(:pencil), edit_admin_image_file_path(image_file), :remote => true
    