Simple code to make use of a 360º photosphere on a Squarespace page.
Big thanks for A-Frame for making it all happen with great examples! https://aframe.io/examples/showcase/sky/
Read more on the blog post: https://www.caseyjscalf.com/blog/2022/3/21/360-photosphere-embed-on-squarespace-9dfhr
-
Find yourself a 360º photosphere image that is “flat”. Like the one below.
-
Right click and “Open Image in New Tab”.
-
Grab the URL from the image.
-
Remove any arguments for low res at the end so the URL ends in .jpg.
-
Create an “Embed Block” on your page. This works for free sites. You can also use a “Code Block”.
-
Paste in the code from the GitHub and replace the URL with the one you grabbed above.
-
Paste it all in the block and view the page from a normal browser window.
-
Good to go you should be able to click and drag your way around the 360º scene!