Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Can I upload a SVG file to the image block?


ZomZom
Go to solution Solved by avsmithy,

Recommended Posts

Not 100% sure if it will work, but why not convert the svg to png? I don't really mess with SVG files, but I do know there are conversions out there.

Squarespace developer since 2007.

I create a professional process for each client to ensure that your objectives are met and users are happy. Something I love to embrace.

I'm available for hire

Get in touch at http://www.nickscola.com or via email at squaretuts@gmail.com
Link to comment
  • 5 months later...
  • 2 years later...
  • 1 year later...

I just wanted to comment that this worked very well for me....thanks! BTW, have you tried it copying ALL the code of the SVG? For me it was just one extra line at the very top but I've never tried it myself

That line of code was

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

Edited by SteveCrow
Initial Revision
Link to comment
  • 3 years later...
On 11/2/2012 at 8:05 AM, avsmithy said:

No. However you can upload the SVG code into a code block. Open the SVG in a text editor and copy everything from



 

<svg...

 

 

to



 

</svg> 

 

 

(inclusive).

This method worked for me, I've wasted the past 3 hours trying to convert my SVGs into font families and found out SquareSpace doesn't allow users to upload .svgs

If you're looking to use custom .svg icons made from illustrator (after image tracing), just right click your .svg file and "open with >" the notepad.

After that, just simply copy and paste the entire <svg> text from the notepad and paste it into a code block or markdown block.

The <svg> text allows you to control the width and height of the svg image itself.

Link to comment
  • 1 month later...
On 12/9/2019 at 8:06 PM, alvinroypak said:

This method worked for me, I've wasted the past 3 hours trying to convert my SVGs into font families and found out SquareSpace doesn't allow users to upload .svgs

If you're looking to use custom .svg icons made from illustrator (after image tracing), just right click your .svg file and "open with >" the notepad.

After that, just simply copy and paste the entire <svg> text from the notepad and paste it into a code block or markdown block.

The <svg> text allows you to control the width and height of the svg image itself.

I don't why I didn't get it, it just posted as texts...

Link to comment
  • 1 year later...
On 11/3/2012 at 2:05 AM, avsmithy said:

No. However you can upload the SVG code into a code block. Open the SVG in a text editor and copy everything from

 
<svg...

 

 

to

 
</svg> 

 

 

(inclusive).

This is a f**n incredible solution! Thank you, thank you!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...