W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2001

Re: svg degrades to gif/jpg

From: Charles McCathieNevile <charles@w3.org>
Date: Tue, 18 Dec 2001 05:16:34 -0500 (EST)
To: jonathan chetwynd <j.chetwynd@btinternet.com>
cc: <w3c-wai-ig@w3.org>
Message-ID: <Pine.LNX.4.30.0112180509300.26149-100000@tux.w3.org>

<object type="image/svg+xml" data="someSVGimage">
  <img src="plainPng" alt="examples can be dull" />

(this will feed the img element directly to browsers that don't implement
HTML 4.0 or newer, so should work pretty nicely in anything except browsers
older than the img element)

If you don't care about making valid documents (i.e. you don't care if your
page will become unusable) or you know how to make your own document types,
you might like

<object type="image/svg+xml" data="someSVGimage">
  <embed ...I forget the exact attributes, and am not sure where the
specification is>
      <img src="plainPng" alt="examples can be dull" />



On Tue, 18 Dec 2001, jonathan chetwynd wrote:

  Sorry to appear so ignorant, how does one set up a simple page to include an
  svg image if plugin available, otherwise a gif/jpg?
  I'd prefer this to use universal principles rather than a separate page,
  javascript etc... or something like the alt tag if possible.

  I've seen people with commercial interests asking this on other lists


Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI    fax: +1 617 258 5999
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)
Received on Tuesday, 18 December 2001 05:16:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:15 UTC