-if portfolio_image.photo?

		
	#portfolio_image.portfolio_image_block{:id => portfolio_image.id, :style => "margin-top:"+(portfolio_image.ratio > 1 ? "3%" : "0.5%")+";"}
		
	
	
		=image_tag portfolio_image.photo.url+"?"+portfolio_image.updated_at.to_s.to_slug, :class => "image"
		%br
		
		%span.title
			=portfolio_image.title
			="-"
			=l portfolio_image.shoot_at, :format => :date if portfolio_image.shoot_at
			-if portfolio_image.exif
				.exifs
					=portfolio_image.exif.model
					="-"
					="f "+portfolio_image.exif.f_number.to_f.to_s
					="-"
					=portfolio_image.exif.exposure_time.to_s+" s"
					="-"
					=portfolio_image.exif.iso_speed_ratings.to_s+" iso"
					="-"
					© Nicolas Bally
	
		-if current_admin
			.admin
				= link_to i(:rotate, :gray_light, "12x14"), rotate_admin_portfolio_image_path(:id => portfolio_image.id, :manager => params[:manager], :multiple => params[:multiple]), :remote => true
				= link_to i(:rotate_right, :gray_light, "12x14"), rotate_admin_portfolio_image_path(:id => portfolio_image.id, :manager => params[:manager], :multiple => params[:multiple], :direction => :right), :remote => true
				=link_to "modifier", edit_admin_portfolio_image_path(portfolio_image)
				=link_to "supprimer", [:admin, portfolio_image], :method => :delete, :confirm => "Voulez-vous vraiment supprimer cette image ?", :remote => true
	
	%br
	
	
