Topic: File Upload tutorial
csax free asked 5 years ago
Dear Support
I would like to use file upload and have embedded you example. However, your sample lacks some features and I am not sure how to properly use it
- How can I set the upload path
- How can I add editing features (crop, use selected area, etc)
Do you have some sample code to illustrate?
Thanks Chris
jouvrard pro answered 5 years ago
I think that the upload MDB component only upload a file, but you need to do all the process to save your file in a directory, crop it, etc.
I use Verot Upload to do this: https://packagist.org/packages/verot/class.upload.php You have a lot of functions to crop, resize, choose the image format, the quality, etc... very usefull and easy to use. There are a lot of examples in the official website: https://www.verot.net/php_class_upload.htm
Jerome
csax free commented 5 years ago
Thanks very much for your reply, much appreciated!That explains it. I will checkout the verot upload
Update: This plugin is very powerful but for php. Since I'm using asp.net I will do it in code then. Examples can be found here https://stackoverflow.com/questions/5858330/uploading-image-and-fixing-veryfing-its-size-with-input-type-file
or here https://docs.microsoft.com/en-us/aspnet/core/mvc/models/file-uploads?view=aspnetcore-2.2
MDBootstrap staff commented 5 years ago
Great job! Thanks for contributing.
Closed
This topic is closed.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Closed
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.8
- Device: Computer
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No
MDBootstrap staff commented 5 years ago
Hi csax,
Do you mean that you have problems with our drag and drop plugin? https://mdbootstrap.com/plugins/jquery/file-upload/ I need to understand your problem. Please share links to the example you are talking about and tutorial you are mentioning.
Best Regards, Piotr
csax free commented 5 years ago
Hi Piotr I wanted to save and edit the uploaded file using your file-upload plugin. Can your plugin do that or do i need to use alternatives? Thanks