I’m trying to build some links from this statement <% for task in row_tasks %> where task.name and task.name.thumb are full path image file names and not having any luck I’ve been trying to link to the image from the thumb I’ve tried with helpers and basic html something like this … <%= image_tag(“#{@thumb_path}”) %> and i’ve tried the same with link_to image_tag How am i gonna do this?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
variables in views | 6 | 151 | February 28, 2016 | |
link_to and image_tag | 2 | 129 | April 27, 2008 | |
How to pin down location of views/shared directory ? | 0 | 113 | November 25, 2007 | |
link_to image_tag | 4 | 261 | November 24, 2010 | |
image_tag is it just plain Broken? | 1 | 153 | February 11, 2008 |