jofftiquez / vue-croppie

Vue wrapper for croppie
https://jofftiquez.github.io/vue-croppie/
MIT License
260 stars 42 forks source link

CORS issues when binding images. #45

Closed donnie24 closed 5 years ago

donnie24 commented 5 years ago

Do you have any solution abut CORS issue? Thanks

jofftiquez commented 5 years ago

Are you trying to bind an image from a url?

donnie24 commented 5 years ago

Yes, im try to bind an image let say from s3 server.

jofftiquez commented 5 years ago

Maybe your s3 server cors configuration is blocking the localhost? In my demo, those images are also from an online url.

donnie24 commented 5 years ago

in the s3 configuration is already set. i will provide image url and try to test. Try this url https://fdca.s3-ap-southeast-2.amazonaws.com/c23d8a72-21f6-4c19-bad3-93601011ca42.jpg

thanks

jofftiquez commented 5 years ago

@donnie24 I was able to bind the image look here. http://vue-croppie.surge.sh/

How do you server you localhost enviroment?

jofftiquez commented 5 years ago

I will close this issue now because the problem is not within the plugin. You can still ask questions related to this issue here. I will see what I can help you with.