i want to integrated link_to with image_tag

before i did link_to with image_tag like this

<%=link_to image_tag(image.filename
,:size=>'110x85'),{:action=>'thumb_crop',:controller=>'light',:id=>image.id},:class=>'lightview',:id=>image.id,:rel=>'iframe',:title=>image.filename+'/Crop/'.camelize+'fullscreen
:true'%>
but now
<%=image_tag ("/trx/images/ob.gif",:alt=>'mob',:title=>'mob')%>
<%=link_to
"Pass",{},:title=>'Mobile',:target=>'_blank',:href=>'http://www.goeoz.com.html?id=8006'
%>


now i want to display the text from link_to tag also


how to do pls reply
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to