Yup, noob mistake. For the benefit of others, here is what I found out:
*<a href="<%= image_tag @target.outcome1_photo.url %>"
data-lightbox="image-1" data-title="My caption">Image #1</a>*
The above is not going to work in a DRYML template because I was trying to
use regular ERB code in what is a DRYML tag. Proper syntax is required.
Something like the following is what I am using:
<a href="*#{@target.outcome1_photo.url*}" data-lightbox="image-1"
data-title="My caption">Image #1</a>
Now when I want to replace "Image #1" with a thumbnail, I replace it with:
<%= image_tag @target.outcome1_photo.url %>
Back to the regular syntax of Paperclip. I'm not doing thumbnail generation
with paperclip, but with CSS, so the above fits my needs.
Nathan
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.