I have couple variants, one for thumbnail and other one is full sized image. On client side, I am showing thumbnail using
<img src=$thumbnailUrl> tag and there’s an option to download full sized image using
<a download href="$fullSizeUrl">. Download is giving CORS error client side.
One way to solve this could be to pass this image through a proxy which adds CORS headers. Any better suggestions on how to go about solving this?