Hey there
I am trying to provide a download button in my frontend component to download images from a image gallery. its embarassing but i stuck with just downloading corrupt files.
i tried it like s:
If your resource to be downloaded isn't served from the exact origin or the same server as your app, it won't get downloaded. A quick workaround would be to add a target="_blank" attribute to the anchor tag so that the page at least opens in a new tab.