Closed mgax closed 9 months ago
The preserveSvg argument, introduced in https://github.com/torchbox/wagtail-grapple/commit/802428fd0e0e56be484a1f279917739a83cc435e on the rendition field, would also be super useful on the srcSet field, to avoid such errors when requesting srcSet(sizes: [360, 1024], format: "webp") on an SVG image:
preserveSvg
rendition
srcSet
srcSet(sizes: [360, 1024], format: "webp")
'SvgImage' object has no attribute 'save_as_webp'
Ref: #359
The
preserveSvg
argument, introduced in https://github.com/torchbox/wagtail-grapple/commit/802428fd0e0e56be484a1f279917739a83cc435e on therendition
field, would also be super useful on thesrcSet
field, to avoid such errors when requestingsrcSet(sizes: [360, 1024], format: "webp")
on an SVG image:Ref: #359