3

I am trying to figure out why my SVG icons are not displaying in Chrome. I am calling the svg with a standard <image src=... />, and I am able to see the image in dev tools (dev tools) and by visiting the direct path. I am also able to see the svgs in any other browser.

I've tried:

Here is my view:

<a class="collapsed accordion-box">
  <div class="panel-heading">
    <img class="collapse-bullet" src="<%= asset_path 'blue-right-bullet.svg' %>"/>
  </div>
</a>

Edit:

Found that other random SVGs show up fine:

Both are called with <img src="..."/> via the <%= image_tag %> helper

Community
  • 1
  • 1
dimitry_n
  • 2,939
  • 1
  • 30
  • 53

0 Answers0