search for: link_to_image

Displaying 3 results from an estimated 3 matches for "link_to_image".

2006 Jan 12
6
link_to_image - Remove Border
Hi All, I am new to both Ruby and Rails, so please be patient with me. I am currently working on a view for a controller and I have used the following excerpt: <td><%= link_to_image "b_edit", :action => ''edit'', :id => part_prefix %></td> The image is being displayed and the link is working. However, the formatting of image rendered produces and thick (1 or 2px) black box around the image. Is there a method of controlling this bo...
2006 Oct 24
1
Changeset 5358 - Jamis
In http://dev.rubyonrails.org/changeset/5358 and the new alternative deprecation method, deprecate :link_image_to => :link_to_image should probably use the message version, as both link_image_to and link_to_image should be deprecated (according to the comments at least): deprecate :link_image_to => "Use link_to(image_tag()) instead" --~--~---------~--~----~------------~-------~--~----~ You received this message...
2007 Apr 09
6
gruff send_data
..._data(g.to_blob, :disposition => ''inline'', :type => ''image/png'', :filename => "gruff.png") the server seems sending this binary data ok, but I am having trouble to display it properly: I have tried <%= link_to_image "gruff.png"%> or <%= image_tag "gruff.png" %>. Neither works. The browser gives a bunch of binary encoding. Any idea? Thanks in advance. Oliver --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google...