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.
It's a bug in Webkit. Consequently, it's a bug in Chrome, too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With