Forums / Developer / SVG best pratices

SVG best pratices

Author Message

Salvatore Guarino

Tuesday 21 October 2008 4:33:48 am

I would like to publish tables in SVG format in an eZpublish site. I cannot use the default image class because it doesn't accept svg format (when I try to upload appears an error message indicating that the image is invalid). Maybe a good idea is to create a new class like the file class with a template that embed the svg code in the page, but I'm not sure that this is the best way to manage svg files in ezpublish....any idea?

Thx,
Salvatore

Björn Dieding@xrow.de

Tuesday 21 October 2008 5:08:08 am

That looks like the fast solution.

Else you could also just inout the SVG XML in a textarea.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Salvatore Guarino

Tuesday 21 October 2008 5:58:34 am

Thank you very much.
Bye, Salvatore

Salvatore Guarino

Tuesday 21 October 2008 11:57:58 pm

But there isn't a way to parse svg files using imagemagick and convert these in png or other raster formats? (gif, jpeg etc)