Forums / Developer / SVG best pratices

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 Exponential 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 Exponential....any idea?

Thx,
Salvatore

Björn X

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.

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)