Forum

Thread tagged as: Question

SVG Thumbnail in Admin

Hopefully a quick one - Why would my SVG images be showing fine in my Assets but when added to a region in an Image field type the thumbnail disappears?

James Tedder

James Tedder 0 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Does the SVG have a width and height?

Where would I define the height x width? In the field type or when the SVG is saved?

Drew McLellan

Drew McLellan 2638 points
Perch Support

In the <svg> tag. It might have a width and or height or it might have a viewBox.

in the <svg> tag it has viewBox="0 0 250 250

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, this should be improved in the next version.