sorry for the basic question, trying to do this...
<%= link_to (image_tag picture.photo.url(:thumb)), (image_tag
picture.photo.url) %>
Anyone help me fix the syntax?
bb
sorry for the basic question, trying to do this...
<%= link_to (image_tag picture.photo.url(:thumb)), (image_tag
picture.photo.url) %>
Anyone help me fix the syntax?
bb
<%= link_to(image_tag(picture.photo.url(:thumb)), picture.photo.url)
%>
Brian Dainton wrote:
<%= link_to(image_tag(picture.photo.url(:thumb)), picture.photo.url)
%>- BD
http://www.buddingrubyist.com
http://www.fiveruns.comOn Apr 26, 6:29�am, bingo bob <rails-mailing-l...@andreas-s.net>
Many thanks. works a treat. Don't know why i was making it so
complicated!