]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
img: Add back support for SVG images, bypassing ImageMagick and simply passing the...
authorSimon McVittie <smcv@debian.org>
Fri, 6 May 2016 05:57:12 +0000 (06:57 +0100)
committerSimon McVittie <smcv@debian.org>
Fri, 6 May 2016 06:01:45 +0000 (07:01 +0100)
commit5e1d0e5ec5395222dda568c242106d983550d929
tree71e2cb315d0243c08a1b3e59daa3d02787f680b1
parentf282512da75d19e38933f3083afa3c2a9dad463c
img: Add back support for SVG images, bypassing ImageMagick and simply passing the SVG through to the browser

SVG scaling by img directives has subtly changed; where before size=wxh
would preserve aspect ratio, this cannot be done when passing them through
and so specifying both a width and height can change the SVG's aspect
ratio.

(This patch looks significantly more complex than it was, because a large
block of code had to be indented.)

[smcv: drop trailing whitespace, fix some spelling]
IkiWiki/Plugin/img.pm
debian/changelog
doc/ikiwiki/directive/img.mdwn