From: Brian Candler Date: 2009-12-14T22:23:02+09:00 Subject: Re: embed svg file in html Your first action should be to google for "embed SVG HTML". After that, I suggest: (1) Reproduce your problem using entirely static HTML files, which you access using URLs like file:///temp/whatever.html This takes Rails out of the equation altogether, so you can ask your question on a HTML or web design mailing list if the embedding doesn't work. (2) If you can make it work with the static pages but not with Rails, you can ask the question again on a Rails mailing list. Post your relevant bits of server logs, so you can show whether the embed tag is attempting to fetch the svg, and if so, whether it's succeeding or not. Remember that you have a relative URL in your HTML, i.e. src="report.svg", so the browser will probably be fetching /some_controller/report.svg. Is that what you were expecting, and is your application serving it? (3) Rails happens to be written in Ruby. That's is a long way from your problem area, so asking the question here on a Ruby programming language mailing list is inconsiderate at best. For more advice, see http://www.catb.org/~esr/faqs/smart-questions.html#intro -- Posted via http://www.ruby-forum.com/.