Skip to content
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

how to upload to the server? #513

Closed
Goowwy opened this issue Sep 23, 2022 · 1 comment
Closed

how to upload to the server? #513

Goowwy opened this issue Sep 23, 2022 · 1 comment

Comments

@Goowwy
Copy link

Goowwy commented Sep 23, 2022

how to get filelist?

@sekoyo
Copy link
Owner

sekoyo commented Sep 23, 2022

Your question is too incomplete to answer. It depends on your server, if you want to upload the original file and do the cropping on the server, or crop on the client and upload that. You can google for either way e.g.

https://betterprogramming.pub/a-complete-guide-of-file-uploading-in-javascript-2c29c61336f5

https://stackoverflow.com/questions/5587973/javascript-upload-file

https://levelup.gitconnected.com/crop-images-on-upload-in-your-react-app-with-react-image-crop-5f3cd0ad2b35

@sekoyo sekoyo closed this as completed Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants