ZomZom 69 Share Posted November 1, 2012 (edited) When I try to add my .svg file as an image block I get an error message that only images are allowed. How can I add a .svg? Edited July 11, 2016 by acalvo retag Link to post
Nick Scola 1,457 Share Posted November 1, 2012 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 post
avsmithy 1,122 Solution Share Posted November 2, 2012 (edited) 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). Edited November 2, 2012 by Alex alvinroypak and raymorin 2 Link to post
loveimage 0 Share Posted May 2, 2013 converting the svg to png is simple, an image converter can slove all your problem. already find for you, hope it helps. Link to post
SteveCrow 0 Share Posted August 1, 2016 (edited) 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 August 1, 2016 by SteveCrow Initial Revision Link to post
alvinroypak 0 Share Posted December 10, 2019 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 post
siweisong 14 Share Posted January 28, 2020 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 post
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment