-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perform action before file upload #59
Comments
This is very important @mastarenee , for example I have a one PHP back end file to handle uploads of different types of images (Cars, students, ...ect). I want to stash other POST prams to be used in my back end PHP? what can I do?? a call back such as:
is very important |
How does the following signature sound:
Or perhaps the return value of the function could be an object with more things in it, if there's a requirement:
|
…an modify each file/url or abort entirely fixes #59
Is it possible that after the user has selected an image I can call an (onBeforeUpload) function to run edits on the image using ng2-pica. If not can I remove the URL so the file doesn't upload but then after I've performed my edits get your plugin to make a call to the server with a URL I would provide it with?
The text was updated successfully, but these errors were encountered: