Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

I want to load Google Drive images from React, but I get a Cross-Origin Read Blocking (CORB) error

I am creating a web service with React.
I want to load images uploaded to Google Drive from a React application.
However, I get a Cross-Origin Read Blocking (CORB) error.
What should I do?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

You can convert a link in this pattern:

https://drive.google.com/uc?id=FILE_ID

For example: if you have any particular photo with link sharing turned on for everyone. Just grab the id of the image and use this format to use it as a web resource.

https://drive.google.com/uc?id=0B9o1MNFt5ld1N3k1cmtVnZxQjg
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading