Skip to content

A Javascript Image Dropzone and Cropper Plugins using croppie

Notifications You must be signed in to change notification settings

juniardys/Croppie-Droppie-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Croppie Droppie JS

This is my first plugins. This is an Image Dropzone and Cropper Javacript / js using croppie plugins.

Requirements

  • Jquery

  • Croppie

But it has been included inside

Support

  • SweetAlert

Example

You can see it in demo.php

Attributes

Set this HTML Attributes to container id like the example

Html Attributes Function default
data-path data path url of image null (required)
data-url data url to upload image null (required)
data-img data name of image if exist null (if null show DropZone)
img-width image width of cropping in px 200 in pixels
img-height image height of cropping in px 200 in pixels
img-type image type of croppie like 'circle' or 'square' square
res-width image width result in px img-width
res-height image height result in px img-height
box-width box width of cropping in px img-width + 50
box-height box height of cropping in px img-height + 50
msg-success success message of uploading image Success Uploading Image
msg-error error message of uploading image Error Uploading Image

Donation

If this plugins help you, you can Donate to my Paypal account

Paypal Account: juniardysetio@gmail.com