Use this little website to test if a URL is setup correctly to work with CORS.
Shareable link: https://cors-test.codehappy.dev/?method=get&url=https%3A%2F%2Fwww.roomscalestudios.com%2Fprogressive_forest.jpg
It does not have the access-control-allow-origin
header set to *
. Without this header, requests from other domains cannot be made to it via a users browser.
If you have access to the server for the URL, you'll need to modify it to add the access-control-allow-origin
header. If you do not have access, you'll need to upload the file somewhere else.
These are the response headers received when making the request.
cache-control: max-age=0, private, must-revalidate
cf-cache-status: BYPASS
cf-ray: 8d45ef8203f2397a-IAD
connection: keep-alive
content-length: 9
date: Fri, 18 Oct 2024 04:55:20 GMT
server: cloudflare
set-cookie: sid=2d751a27-8d0d-11ef-be35-4dcf6009e019; path=/; domain=.roomscalestudios.com; expires=Wed, 05 Nov 2092 08:09:27 GMT; max-age=2147483647; secure; HttpOnly
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.