image - Rails image_tag doesn't show -
i have next image tag in view:
<%= image_tag "http://cdn2.sponsorpay.com/app_icons/26600/big_mobile_icon.png" %>
when go url straight image visible, embedded site, doesn't show.
any ideas why happens?
edit: must have link. as
<img src="http://img3.wikia.nocookie.net/__cb20131004141939/clashofclans/de/images/6/62/barbar.png">
works, while:
<img src="http://cdn2.sponsorpay.com/app_icons/26600/big_mobile_icon.png">
doesn't work.
i tried adding <img>
tag link page using chrome's console , received err_blocked_by_client
message. seems service hosting image has disallowed other domains requesting it.
ruby-on-rails image ruby-on-rails-4
No comments:
Post a Comment