malaman / react-image-zoom

React component for desktop browsers for image zoom on mouse hover
http://malaman.github.io/react-image-zoom/example/index.html
MIT License
188 stars 29 forks source link

not loading the image when disable cache button disabled in chrome Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported #19

Open prashanthgundas opened 3 years ago

prashanthgundas commented 3 years ago

image

prashanthgundas commented 3 years ago

we need to render the image in base64 format when we are using the canvas to render the image from S3 bucket

image

https://github.com/niklasvh/html2canvas/issues/1614

No solution as far as I know, but I have a workaround: change every image to base64. That way, you could render it in canvas even though it's originally from different domain.