Junior Member
Junior Member
nojhan   2006-03-11, 20:11
#1

I am looking for a galery software supporting SVG images.

My wish is a gallery that accept SVG upload, and shows SVG files converted in PNG, with a link to the SVG original image.

As zenphoto is really great, it would be really nice to use it as a SVG gallery.

Member
Member
Joen   2008-06-18, 08:53
#2

I'd like to bump this post and second the feature request.

Some illustrations are simple enough to be shown in SVG. Having to convert these to a rasterbased format to show them on the web is tedious. SVG can solve that, but is unfortunately only supported in modern browsers.

Having an SVG2PNG converter built-in to ZenPhoto would solve both problems.

Also imagine the plugins and hacks that could be built around this feature. ZenPhoto becomes the image engine for your CMS of choice. Upload a jpg, png or svg to your filebucket and show it in resized, compatible formats.

Woo!

Member
Member
Joen   2008-06-18, 10:49
#3

Perhaps this will be of interest to developers:

http://nick.panharmonicon.com/rasterize/

Administrator
Administrator
acrylian   2008-06-18, 10:58
#4

Feel free to open a ticket for that feature or try to write a plugin yourself.

If I see it right both solutions on that site require the installation of extensions on the server itself which not all hosters (or hosting packages) allow or even not all users are able to.

Member
Member
Joen   2008-06-18, 14:37
#5

I'm afraid I'm one of them lazy ones just mooching off of other peoples code. I haven't the skill to write a plugin myself. As for opening a ticket, you're right -- the solution presented uses rsvg and convert extensions -- i'll see if I can find some code using gdlib first before I open any tickets.

Member
Member
Joen   2008-06-21, 20:09
#6

A tiny update on this.

Apparently GD Lib doesn't support SVG at all, so there's no chance it'll be able to convert SVG images to PNGs.

Here's a list of converters that can.

http://www.mediawiki.org/wiki/Manual:%24wgSVGConverters

Bottomline: if Zenphoto is to ever support SVG with PNG and JPEG fallbacks, it'll likely be via ImageMagick.

Administrator
Administrator
acrylian   2008-06-21, 20:22
#7

I found out that with gd and svg, too. Thanks for the research. ImageMagick support is already on our list to add somewhere in the future.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.