# Grabbing banners from other sites

**URL:** <https://www.ruby-forum.com/t/grabbing-banners-from-other-sites/93055>\
**Category:** Rails\
**Created:** [April 27, 2007, 1:03am UTC](https://www.ruby-forum.com/t/grabbing-banners-from-other-sites/93055 "2007-04-27T01:03:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [April 27, 2007, 1:03am UTC](https://www.ruby-forum.com/t/grabbing-banners-from-other-sites/93055/1 "2007-04-27T01:03:48Z")

</div>

I want my banner ads to be rotated using ruby.

So I try this

\<%= link\_to\_remote( image\_tag(“graphics/  
select01.gif”, :alt=\>‘Programming’, :size=\>‘100x20’, :border=\>0),  
:update =\> “select01\_div”,  
:url =\>{ :action =\> :select01\_action }) %\>

and it works. But this doesn’t seem to work for me. Does ruby expect  
images to be local even if we do http://?

\<%= link\_to\_remote( image\_tag(http://  
[globalwarmingawareness2007.org.uk](http://globalwarmingawareness2007.org.uk) /graphics/  
select01.gif, :alt=\>‘Programming’, :size=\>‘100x20’, :border=\>0),  
:update =\> “select01\_div”,  
:url =\>{ :action =\> :select01\_action }) %\>
