<%= image_tag("photos/#{unused_photo.thumbnail}", 
    :style => "vertical-align: middle", 
    :id => "photo_#{unused_photo.id}", 
    :class => "photos") %> 
<%= draggable_element "photo_#{unused_photo.id}", :revert => true %> 
