Skip to content

Danbardo/DragDropResizeUpload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DragDropResizeUpload

A simple drag / drop files uploader with a jQuery dependecy.

Example

This is a light weight drag and drop form with client side resizing. The uploaded images are resized into squares within a hidden canvas. The image is then extracted from the hidden canvas and can be easily uploaded to a server.

The images are resized by cropping the larger dimension (width or height) such that the image is centred.

This was developed many years ago due to the lack of simple and light weight drag / drop / resize plugins.

The jQuery dependence can be easily removed.

The dropped items will become draggable if the Sortable plugin is imported, https://github.com/SortableJS/Sortable.

About

A simple drag / drop / resize image uploader.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published