Page 1 of 1
SVG
Posted: Tue May 14, 2013 10:05 am
by BOA
Hi Guys,
Can AG be customized to accept SVG images? I have some SVG images that I want to upload in Admiror Gallery but
they are not recognized. Please advice.
Thanks,
BOA
Re: SVG
Posted: Mon May 27, 2013 4:46 pm
by Vasiljevski
Currently only GIF, JPG and PNG are supported because we relay on GD+ library for image manipulation.
To support SVG files, some changes should be made. First, obviously, remove limitation to only GIF,JPG and PNG

Because we couldn't resize the SVG, in fact we don't need to, in case SVG we should skip thumbnail creation and just wrap it in a span with defined size. The rest should be rendered by the browser
I don't know how much do you want to do this, but it would require some serious work

I would help, of course, but only as adviser
