search for: tn_

Displaying 1 result from an estimated 1 matches for "tn_".

Did you mean: tn
2006 Jun 06
8
How do I wrap a <%= link to %> around an image?
...nk some dynamically-generated image paths. Specifically, I want to link thumbnails in a gallery to the larger images. But I''m stymied by Rails'' syntax. I can''t figure out how to do this. I tried this: <%= link_to(image_tag("../../images/photos/photo.photogroup/TN_ photo.photogroup photo.filenumber .jpg"), "http://www.example.com") %> But of course, all of the variables are being translated into HTML literally instead of coughing up their values, so that''s no good. So I tried this: <%= link_to "something", {:action...