How to upload SVG file as Product Media to Dawn theme?

Hello,

When I try to upload a svg file in Product Media I got the following message :

This file couldn’t be added:
“myfile.svg” is corrupt or not a supported image (.png, .jpg, .gif, .webp, .heic, .svg)

I try with several svg file and it’s always the same problem, Why ?
How can I correctly upload an SVG file as Product image ?
Thanks

1 Like

@benjamin0077 you can add svg code through convert the svg image to svg code converter and you can add them where you want to add.

Hi @benjamin0077

If you know to read html code, you can add them directly by click the Show HTML

made4Uo_0-1686068743564.png

You do need to obtain the SVG code first. Open the file in a notepad and copy the code to your product