Item8241: DirectedGraphPlugin Unable to inline SVG graphics

pencil
Priority: Enhancement
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: DirectedGraphPlugin
Branches:
Reported By: Foswiki:Main.GeorgeClark
Waiting For: Foswiki:Main.GeorgeClark
Last Change By: GeorgeClark
SVG is not accepted as a valid format for inline graphics

  • SVG has to be inlined as an <object> type tag, not <img>
  • Plugin should generate both PNG and SVG when SVG requested inline.
  • Inline object should fallback to png when the browser doesn't support SVG.

Example SVG inline object with fallback:

<object data="svgimage.svg" type="image/svg+xml" height="48" width="48">
  <img src="pngversion.png" height="48" width="48" alt="this is a PNG" />
</object> 

-- GeorgeClark - 14 Aug 2009

 
Topic revision: r6 - 30 Nov 2009, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy