2009/8/4 tonymocha <[email protected]>:
>
> I am trying to load an external image from other website in my rails
> app. With following syntax:
>
> <%= image_tag('http://www.google.com/intl/en_com/images/
> logo_plain.png' %>

You have a missing ) in the statement, though not necessarily the
cause of the problem.
Also have a look at the resulting html in the browser (View, Page
Source or similar) to see what is there.

Colin


> It only display the text, but not the images itself.
>
> I try to load the image through plain html and it is working fine. It
> is something to do with Rails Configuration for preventing loading
> external resource?
>
> Thanks!
> >
>

--~--~---------~--~----~------------~-------~--~----~
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