xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "phillip rhodes" <rhode...@telerama.com>
Subject newbie-can not render svg image within html document?
Date Wed, 04 Sep 2002 04:27:21 GMT
Hi.
I have several graphs that I have in an html document.  
Example of one:

<img 
src="http://ldi.rhoderunner.com/hra/servlet/chart?val=x&title=Health+Score&showLegend=true&series=November+1999&chartValues=1&chartValues=41&chartValues=1&chartValues=1&chartValues=50&chartValues=24&chartValues=1&series=November+1999&chartValues=1&chartValues=41&chartValues=1&chartValues=1&chartValues=50&chartValues=24&chartValues=1&series=April+2001&chartValues=1&chartValues=26&chartValues=1&chartValues=1&chartValues=25&chartValues=15&chartValues=1&series=April+2001&chartValues=1&chartValues=26&chartValues=1&chartValues=1&chartValues=25&chartValues=15&chartValues=1&categories=Cancer&categories=Heart+Disease&categories=Emphysema&categories=Cirrhosis&categories=Arthritis&categories=Overall&categories=Self-assessed+Health"/>

If I go to the directly to the URL above, (  http://ldi.rhoderunner.com/hra/servlet/chart?val=x&title=Health+Score&showLegend=true&series=November+1999&chartValues=1&chartValues=41&chartValues=1&chartValues=1&chartValues=50&chartValues=24&chartValues=1&series=November+1999&chartValues=1&chartValues=41&chartValues=1&chartValues=1&chartValues=50&chartValues=24&chartValues=1&series=April+2001&chartValues=1&chartValues=26&chartValues=1&chartValues=1&chartValues=25&chartValues=15&chartValues=1&series=April+2001&chartValues=1&chartValues=26&chartValues=1&chartValues=1&chartValues=25&chartValues=15&chartValues=1&categories=Cancer&categories=Heart+Disease&categories=Emphysema&categories=Cirrhosis&categories=Arthritis&categories=Overall&categories=Self-assessed+Health
 ) it works, but if the url is part of an html document, it will not (e.g. <img src="url
above"/>

Is there something special about svg that I need to do differerently than jpeg?  I am outputting
a mime type of image/svg+xml

Thanks!

Mime
View raw message