Foliotek / Croppie

A Javascript Image Cropper
http://foliotek.github.io/Croppie
MIT License
2.56k stars 884 forks source link

Doesn't work when on shared hosting. #440

Open altoin opened 6 years ago

altoin commented 6 years ago

I'm using the awesome plugin to crop image on the client side, it works perfectly well on my localhost, but when i deployed the code to my web hosting, it takes forever to upload (230kb picture), and then returns with an error.

jeyhunhasanov commented 5 years ago

Same issue.

thedustinsmith commented 5 years ago

You guys are going to have to share more information if you want help. What's the "error"?

2 things: 1) make sure CORS is enabled on your hosting 2) croppie isn't responsible for uploading files, so you may need to post your question elsewhere.

jeyhunhasanov commented 5 years ago

I'm using Laravel. <input type="hidden" name="images[]" value="data:image/jpeg;base64,/.../9k="> form post to controller client-side ok! but server-side no ok!

MethodNotAllowedHttpException
No message
jeyhunhasanov commented 5 years ago

I'm also think 'data:image/jpeg;base64,/.../9k=' issue. I thought someone knew the solution. Thank you @thedustinsmith for this awesome project.

jiggabyte commented 5 years ago

I am uploaded the file first before cropping on the same origin but still gets 403 error on shared hosting but no error on localhost

firexsantos commented 2 years ago

I'm facing the same issue... please help everyone who solved this... I'm using Codeigniter, working on localhost but not on live shared hosting...