I am using ruby on rails, and i discover wookmark jquery plugin and would like to use it. http://www.wookmark.com/jquery-plugin
I have installed the gemfile
gem "jquery-wookmark-rails", "~> 0.0.1"
and i have added to javascripts/application.js
//= require jquery.wookmark
But now I don't know how to apply it to my pictures on my view!
<span class="photo">
<% if feed_item.image? %>
<!-- Button trigger modal -->
<a data-toggle="modal" data-target="#myModal<%= feed_item.id %>" data-refresh="true">
<%= image_tag feed_item.image.url,:size => "180x180" %>
</a>
<!-- Modal -->
...
<% end %>
</span>
Thanks !