I got Paperclip working in my app and I can display an image in a show-page tag with a link, for instance:
<%= image_tag @target.outcome1_photo.url %> I can also make that a button link with: <%= link_to "Outcome 1 Photo", @target.outcome1_photo.url, :class => "btn btn-primary" %> But my guess guess through Googling to make lightbox work is this: <a href="<%= image_tag @target.outcome1_photo.url %>" data-lightbox="image-1" data-title="My caption">Image #1</a> Which throws an error. Probably a noob mistake, sorry in advance :) Thanks, 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.
