-if gallery_image.image_file
	.gallery_image.image_square#gallery_image{:id => gallery_image.id, :data => { :title => gallery_image.title , :description => gallery_image.description, :id =>  gallery_image.id} }
		.img{:style => "background-image : url('#{gallery_image.image_file.file.large.medium.small.thumb.url}');"} 
		
		.actions
			=link_to i(:trash), [:portlet, gallery_image], :confirm => 'Voulez-vous vraiment supprimer cette image ?', :method => :delete, :remote => true
			=link_to i(:pencil), edit_portlet_gallery_image_path(gallery_image), :remote => true
		
		