Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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