<%= link_to(image_tag("…/…/images/photos/photo.photogroup/TN_
Which works well, except that the best I can have with this is a text
link NEXT to an image, when what I really want is the image to BE the
link.
Well from the code sample it looks like u need some string formatting.
Try doing
<%= link_to(image_tag(“…/…/images/photos/#{photo.photogroup}/TN_
#{photo.photogroup) #{photo.filenumber}.jpg”), “http://www.example.com”)
%>
This should see u through.
Bharat