We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0603f11 commit eacc42aCopy full SHA for eacc42a
app/controllers/api/v1/AttachmentsController.js
@@ -241,8 +241,8 @@ export default class AttachmentsController {
241
response.width = prv.w;
242
response.height = prv.h;
243
244
- // With imgproxy, we can resize images and change their format
245
- if (type === 'image' && useImgProxy) {
+ // With imgproxy, we can resize images (except SVG) and change their format
+ if (useImgProxy && type === 'image' && attachment.fileExtension !== 'svg') {
246
let { format } = query;
247
248
if (!format) {
0 commit comments