I want to run a jQuery mobile photo swipe on the website which is build with Ruby On Rails.
The photo swipe script is:
<ul id="swipeallery">
<li><img src="_img/slide1.jpg" alt="" title=""/></li>
<li><img src="_img/slide2.jpg" alt="" title=""/></li>
</ul>
When I add the photos with a Ruby script:
<li><img src="<%= property.images[i].image.url('700x525', :jpg) %>" alt="" title=""/></li>
it's not working.
How can I make the slide show work?

Help

