Streaming live at 10am (PST)

Cross Origin Best Practices


#1

Is there a proper way to allow cross origin access for images stored by Webflow? I’ve noticed that my custom code will inconsistently be able to load referenced images (I believe the successful execution varies based on browser). Example: https://webflow.com/website/multiple-planes-morph

Any feedback would be greatly appreciated. Thanks!


#2

If anyone comes across this post, I seemed to have figured it out (or the Webflow team has deployed an update - not sure which is more likely lol). To provide some additional context, my problem was specific to CORS errors with WebGL…This is evidently a widespread challenge but the fix that worked for me was to embed the image via HTML rather than use the designer’s image component.

I’ll continue to research so if anyone has specific questions or better yet, a true solution, feel free to ping me.