qr-code-styling icon indicating copy to clipboard operation
qr-code-styling copied to clipboard

Image not loading from url

Open sir-guevara opened this issue 4 years ago • 4 comments

The qrcode center image should be loadable from qrcode

sir-guevara avatar Nov 18 '21 16:11 sir-guevara

Should be related to Cross Origin Ressource Sharing , try to set options.imageOptions.crossOrigin = "anonymous" maybe check your cors options in your http request from your server

chiptu avatar Mar 30 '22 17:03 chiptu

Thanks for the tip... unfortunately this one didn't work for me. In fact adding this made the entire QR code disappear, where previously it was just showing a white square instead of the central image.

My server is able to fetch other images from S3 just fine, so I presume my general cors settings on the server are fine.

Does anyone else have any ideas?

andrewjdavison avatar Nov 19 '22 15:11 andrewjdavison

Facing the exact same problem @andrewjdavison

piyushsinghania avatar May 06 '24 12:05 piyushsinghania