Displaying 1 result from an estimated 1 matches for "ad_image".
Did you mean:
add_image
2010 Oct 15
18
Newbie - Rails 3 lightbox?
Hello!
I''m trying to create a simple image "popup" effect using Lightbox2,
http://www.huddletogether.com/projects/lightbox2/. But I don''t get it
to work. My code looks lite this:
<span class="ad_image">
<a href="<%= ad.image.url(:thumb) %>" rel="lightbox"><img src="<%=
ad.image.url(:thumb) %>" /></a>
</span>
This generates:
<span class="ad_image">
<a href="/system/images/301/thumb/tufftroja_19...