innostudio / fileuploader

Beautiful and powerful HTML file uploading tool. A jQuery, PHP and Node.js plugin that transforms the standard input into a revolutionary and fancy field on your page.
141 stars 25 forks source link

The image uploaded is the original image, not the edited one. #58

Closed lander16 closed 4 years ago

lander16 commented 4 years ago

I'm using the uploader on a form, do I need to do something in the onSave callback of the editor in order for the form to upload the edited image? I'm getting the original one instead of the edited one.

Thanks

innostudio commented 4 years ago

@lander16 if you are not using our class on backend, the client-side example is required

https://innostudio.de/fileuploader/documentation/examples/image-editor/client-side/js/custom.js

lander16 commented 4 years ago

Thanks for the prompt reply, I see that the client example uses ajax for the file upload, I want to do it on a form, but it seems that deleting/appending data to the form as it's done in the upload method of the example is not available outside of the beforeSend callback. Anyway to implement this without ajax?

innostudio commented 4 years ago

@lander16 unfortunately no. There is no way to manipulate input element using JavaScript.