Problem embedding panorama in Squarespace

204 views
Skip to first unread message

SJM

unread,
Jun 9, 2016, 5:14:40 AM6/9/16
to PTGui Support
Hi all,

I am trying to embed a panorama into my Squarespace website, but when running in it I get the following error messages:

Chrome:

"Failed to execute 'texImage2D' on 'WebGLRenderingContext': The cross-origin image at http://static1.squarespace.com/static/blah...blah/SHAWPAN2_00.jpg may not be loaded."

Microsoft Edge:

"SecurityError"

Everything else looks ok (see screenshot).

Any ideas what the problem might be?

Thanks,
Simon
PTGui embed error.jpg

PTGui Support

unread,
Jun 9, 2016, 5:26:42 AM6/9/16
to pt...@googlegroups.com
Hi Simon,

'cross origin' means that the images are located on a different host
(static1.squarespace.com) than the web page you are visiting. This
triggers a security restriction in the browser.

A possible workaround would be to host a html page containing the
panorama on static1.squarespace.com, and then embedding this page via an
iframe in the actual web page.

There may be another solution
(https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) but this
requires static1.squarespace.com to add extra http response headers.

Kind regards,

New House Internet Services BV
Joost Nieuwenhuijse

-----------------------------------------------
PTGui - Photo Stitching Software

www.ptgui.com
For support see: http://www.ptgui.com/faq/
-----------------------------------------------
> --
> Many people are reading this forum via email and get every post
> delivered to their inbox. To limit the amount of data please do not add
> attachments or images to your posts; instead upload your files at a file
> sharing site (for example http://sendspace.com// ) and include a link in
> your message.
> ---
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To post to this group, send email to pt...@googlegroups.com
> <mailto:pt...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/ptgui.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/fa3fd54b-0de5-4e22-9de0-ed0b3a22bcaa%40googlegroups.com
> <https://groups.google.com/d/msgid/ptgui/fa3fd54b-0de5-4e22-9de0-ed0b3a22bcaa%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages