diff options
author | Simon McVittie <smcv@debian.org> | 2016-05-06 06:57:12 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2016-05-06 06:57:12 +0100 |
commit | 984ba82f1bea778de8d2b98593b470d651749d73 (patch) | |
tree | 39b6502568b2c3fc9dd4b01a026fefd873acade8 /plugins | |
parent | 7ff6221ac9ef5164c9b5ab6cd7d16af91ef0871b (diff) | |
download | ikiwiki-984ba82f1bea778de8d2b98593b470d651749d73.tar ikiwiki-984ba82f1bea778de8d2b98593b470d651749d73.tar.gz |
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]
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions