johndatserakis / file-upload-with-preview

🖼 Simple file-upload utility that shows a preview of the uploaded image. Written in TypeScript. No dependencies. Works well with or without a framework.

Home Page:https://johndatserakis.github.io/file-upload-with-preview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CORS error when get data from awss3

Adityapras opened this issue · comments

please help , any error when i using function 'addImagesFromPath' for display image preview
image

Hi there. Hmm yea I think in this case you're going to have to check your settings on the AWS side and make sure you've added the proper CORS configuration on your files. I would start by taking a look at this page.

Also - it looks like this stackoverflow answer may help you out here.

Closing, will reopen if needed.