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

benjamin0077
Shopify Partner
14 0 7

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

Replies 2 (2)

Ujjaval
Shopify Partner
1242 197 206

@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.

made4Uo
Shopify Partner
3805 713 1129

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

 

Volunteering to assist you!  Likes and Accept as Solution  is highly appreciated.✌
Coffee fuels my dedication. If helpful, a small Coffee Tip would be greatly appreciated.
Need EXPERIENCED Shopify developer without breaking the bank?
Hire us at Made4Uo.com for quick replies.
Stay in control and maintain your security by avoiding unnecessary store access!