Jump to content

Attaching a SVG image (Squarespace 7.1)

Recommended Posts

Hi, I am a newbie here.

All I want to do is to add an SVG image that I personally made into the body of my squarespace website. So as some expert advised, I uploaded the file (sample_1.svg) and wrote code as follows but it never works for me. It is just all white, no image appears.

<img src="/s/sample_1.svg" alt="Image Name">.

 

SVG image is this. Is it because the image is too large or the above code is wrong?

https://static1.squarespace.com/static/60c0d9648069a8296f8a576b/t/6100ea5acc0dff2044e6f5f3/1627449948554/sample_1.svg

 

I would be really appreciated if anyone could help me. Thank you!

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

20 hours ago, mookay said:

Hi, I am a newbie here.

All I want to do is to add an SVG image that I personally made into the body of my squarespace website. So as some expert advised, I uploaded the file (sample_1.svg) and wrote code as follows but it never works for me. It is just all white, no image appears.

<img src="/s/sample_1.svg" alt="Image Name">.

 

SVG image is this. Is it because the image is too large or the above code is wrong?

https://static1.squarespace.com/static/60c0d9648069a8296f8a576b/t/6100ea5acc0dff2044e6f5f3/1627449948554/sample_1.svg

 

I would be really appreciated if anyone could help me. Thank you!

Hi. Use full url

eg your domain is abcxyz.com, then the code should be

<img src="https://abcxyz.com/s/sample_1.svg" alt="Image name"/>

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.