views:

13

answers:

1

So the rails code I used:

<%= image_tag("logo.png", :alt => "Sample App", :class => "round") %>

produces the HTML:

<img alt="Sample App" class="round" src="/images/logo.png" /> 

But when I load the page, it shows the broken image symbol.

What gives?

I am loading it in the latest stable build of Chrome on Windows, fyi.

As an aside...it shows the text and works perfectly in Firefox on Windows. But Chrome breaks it.

+2  A: 

It's a bug in Webkit. Consequently, it's a bug in Chrome, too.

Matt Ball