2nd post... the first didnt got here ?
======================================

Hi,

i have this controller class to serve static files. It works well for
the stylesheet file under a /static directory, locating it, but the
images referenced in the stylesheet do not appear. They are in the
same /static folder, next to the stylesheet.css file.

link :rel => 'stylesheet', :href => R(Static, 'stylesheet.css'), :type
=> 'text/css'

In the CSS file i try:

background: #333333 url(img01.gif) repeat-x;

The class is here: http://pastebin.com/f7c92f95a

Another problem is for images, i cant seem to make them appear in the
page using:

img :src => R(Static, 'img04.jpg'), :alt => 'test image'

I always get the alternate description (or a thumb is no :alt is
supplied).

Any hint ? Thank you.

-- 
pedro mg

_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to