Join the Webstudio community

Updated 8 months ago

Is there a way to get the original image source file link?

At a glance

A community member is trying to embed an image from Webstudio on another website, but the image link is long. They ask if there is a way to shorten the link. The comments indicate that Webstudio protects its static assets with a referrer check to prevent misuse as a free file hosting service. As a result, the image link cannot be shortened, and the community member is advised that the image will not work if embedded on a different domain.

Useful resources
Hi there guys, I'm trying to embed an image from Webstudio in another website however the link is quite long: https://www.unsloth.ai/cgi/image/unsloth_logo_no_shadow_KgfOV6keeBZnffQsKUny3.png?width=96&quality=100&format=auto
Is there a way for the link to be just something like: https://www.unsloth.ai/cgi/image/unsloth_logo_no_shadow.png
Thank you so much!
M
M
O
6 comments
Where do you want to embed? On an another Webstudio site or other tool?
On Google Colab
It won't work, we are protecting static assets via referrer check, reason is otherwise soeone can missuse us to just use as a free file hosting
Meaning if image is requested not from the domain where it belongs, it won't work
For this very reason we don't provide permalink to assets
By doing so we can keep pricing structure simple, based on pageviews, instead of 20 other parameters
Add a reply
Sign up and join the conversation on Discord