AW: [opencms-dev] SVG

Michael Moossen m.moossen at alkacon.com
Tue Apr 19 10:41:14 CEST 2005


Hi,
  just add your new mime type to the mimetypes.properties file im
org.opencms.loader package in the opencms.jar
 
Regards, 

Michael Moossen 
Alkacon Software - The OpenCms Experts 
http://www.alkacon.com <http://www.alkacon.com/>  

-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Mann, David
Gesendet: Dienstag, 19. April 2005 10:01
An: 'opencms-dev at opencms.org'
Betreff: [opencms-dev] SVG 



I'm trying to include an SVG image in a web page. I have uploaded it
into the VFS and it is correctly inserted into the page, but when it is
served, opencms sets the content type to text/html, and therefore the
browser doesn't render it correctly. Where can I find the MIME settings
and how do I set it to use image/xml+svg?

I have already modified the tomcat mime settings to correctly serve .svg
files (and it works if I copy the svg to the webapps/opencms directory)

Thanks, 
DCM 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050419/f28d0e7d/attachment.htm>


More information about the opencms-dev mailing list