Rik

Results 378 comments of Rik

Something like this should work: ```js imageTransformVariants: { thumb_medium_: (transforms) => { console.log(transforms); transforms.resize = { size: { width: 400, height: 400, } } return transforms; }, thumb_small_: (transforms) =>...

Justed tested, loads SVG without issue: Does your SVG have a width and height?

Yes, it currently doesn't show a preview due to browsers not reading image size correctly, a fix is planned.

Looked at this some more, Firefox doesn't draw anything to canvas when the SVG doesn't have a width/height so nothing I can do really, open to suggestions. See test case...

Okay, will look into it.

Should be fixed in `3.8.7`

Wow that's a weird bug. Thank you so much for the detailed report, will look into this as soon as possible.

I tried to produce this with a big jpeg and png but I'm not able to. Tested on MacOS chrome 92 and Windows 10 Chrome 92. (Tested on Firefox and...