Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/learncodeweb/dropzone-with-php-image-resizer
A very simple class for upload multiple images using ajax. You can resize and change the quality of the images too.
https://github.com/learncodeweb/dropzone-with-php-image-resizer
ajax bootstrap3 class dropzone dropzonejs file-upload html image-manipulation jquery multiple-file-upload multiple-files php quality upload uploader
Last synced: 1 day ago
JSON representation
A very simple class for upload multiple images using ajax. You can resize and change the quality of the images too.
- Host: GitHub
- URL: https://github.com/learncodeweb/dropzone-with-php-image-resizer
- Owner: LearnCodeWeb
- License: mit
- Created: 2017-04-25T05:36:34.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-19T07:38:49.000Z (almost 3 years ago)
- Last Synced: 2023-03-05T11:17:55.859Z (almost 2 years ago)
- Topics: ajax, bootstrap3, class, dropzone, dropzonejs, file-upload, html, image-manipulation, jquery, multiple-file-upload, multiple-files, php, quality, upload, uploader
- Language: JavaScript
- Homepage:
- Size: 451 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Resize and Upload multiple images using PHP and Ajax
Multiple Files Uploaded in PHP.
1. Resize Images
2. Change the quality of images
3. Add watermark
4. Set watermark position x-y
5. Check to upload image size
6. Rename images
7. Create thumbnail with the original image **[New feature added]**```php
$yourFileName = 'Your paramName' // Set in a Dropzone
$yourDestination = '../upload' // Folder/Dir name where you need to save images
$createThumb = false; // This is set default
$minImgWidth = 400 //Set to check Minimum width of uploaded images.
$waterMarkImgSrc = '../mini-logo.png' //Set watermark
$xPosition = 20 //Set position of watermark X-AXIS
$yPosition = 20 //Set position of watermark Y-AXIS
$reName = 'Rename uploaded file if you need' // Left empty save file default name
$permission = 0655 // Folder/Dir permission set 0777 for full access
$quality = 100 // Set image quality you can set it between 1-100
$newWidth = '' // If you want to resize the image then pass int value else upload without resizing
$thumbWidth = //If you want to resize the image thumb then pass int value else upload without resizing image will be saved.
```> View online complete documentation and integration Click Here
> View working example View Demo
Thank you
Regards Zaid Bin Khalid