I have the following "show.html.erb" script, and I get as an output TWO images since I use a method to draw an image.
How can I HIDE the RESOURCE image? Thanks. Here is the script: <canvas id="line" height="512" width="512"> </canvas> <p id="notice"><%= notice %></p> <p> <b> Name </b> <%= @dicom.name %> </p> <p> <b> Image </b> </p> <p> <%= image_tag @dicom.photo.url , :id => 'dicom_image' %> </p> <%= javascript_include_tag "coordinate" %> <%= update_page_tag do |page| page << "drawLine();" end %> <%= update_page_tag do |page| page << "drawImage();" end %> <%= link_to 'Edit', edit_dicom_path(@dicom) %> <%= link_to 'Back', dicoms_path %> -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

