<%= link_to "#paperclip-lightbox", :class => "thumbnail paperclip-lightbox-link", :data => { :toggle => "lightbox", :image_url => preview } do %>
  <%= image_tag thumb, options.merge(:alt => preview) %>
<% end %>

<%= link_to "#paperclip-lightbox", :class => "thumbnail paperclip-lightbox-link", :data => { :image_url => preview } do %>
  <%= image_tag thumb, options.merge(:alt => preview) %>
<% end %>

Remove data-toggle attribute from paperclip preview links (since we're triggering with JS)
Remove data-toggle attribute from paperclip preview links (since we're triggering with JS)
