@@ -4,87 +4,12 @@ Dropzone.js is a JavaScript library that turns any HTML element into a dropzone.
4
4
This means that a user can drag and drop a file onto it, and the file gets
5
5
uploaded to the server via XHR.
6
6
7
- The file either gets uploaded directly to the configured URL, or you can handle
8
- and manage the file upload yourself.
7
+ # Packagist Repo
9
8
9
+ This repo only exists to allow auto updating with the packagist package manager.
10
10
11
- If you want support, please use the [ discussions
12
- section] ( https://github.com/dropzone/dropzone/discussions ) or
13
- [ stackoverflow] ( https://stackoverflow.com/questions/tagged/dropzone.js ) with the
14
- ` dropzone.js ` tag and ** not** the GitHub issues tracker. Only post an issue here
15
- if you think you discovered a bug or have a feature request.
16
-
17
-
18
- * * *
19
-
20
- > ** Please read the [ contributing guidelines] ( CONTRIBUTING.md ) before you start
21
- > working on Dropzone!**
22
-
23
-
24
- <img alt =" Dropzone Screenshot " width =" 585 " src =" http://i.imgur.com/Xf7QvVG.png " />
25
-
26
-
27
- Quickstart
28
- ----------
29
-
30
- The recommended way to install Dropzone is with [ yarn] ( https://yarnpkg.com ) and
31
- [ webpack] ( http://webpack.js.org ) . I'll provide an example project soon!
32
-
33
- [ Download the standalone files] ( https://github.com/dropzone/dropzone/releases/latest/download/dist.zip ) and import them on your website.
34
- (The JavaScript files in there are UMD modules, compatible with requirejs).
35
-
36
- For more information, please consult the [ Documentation] ( https://dropzone.gitbook.io/dropzone/ ) .
37
-
38
- Dropzone does ** not** depend on jQuery but has jQuery integration.
39
-
40
- Main features
41
- -------------
42
-
43
- - Beautiful by default
44
- - Image thumbnail previews. Simply register the callback ` thumbnail(file, data) `
45
- and display the image wherever you like
46
- - Retina enabled
47
- - Multiple files and synchronous uploads
48
- - Progress updates
49
- - Support for large files
50
- - Complete theming. The look and feel of Dropzone is just the default theme. You
51
- can define everything yourself by overwriting the default event listeners.
52
- - Browser image resizing (resize the images before you upload them to your
53
- server)
54
- - Well tested
55
-
56
- Documentation
57
- -------------
58
-
59
- For all the configuration options and installation guide please visit [ the documentation site] ( https://dropzone.gitbook.io/dropzone/ )
60
-
61
- ## Examples
62
-
63
- For examples, please see the [ GitLab wiki] ( https://github.com/dropzone/dropzone/wiki ) .
64
-
65
-
66
- Server side implementation
67
- --------------------------
68
-
69
- Dropzone does * not* provide the server side implementation of handling the
70
- files, but the way files are uploaded is identical to simple file upload forms
71
- like this:
72
-
73
- ``` html
74
- <form action =" " method =" post" enctype =" multipart/form-data" >
75
- <input type =" file" name =" file" />
76
- </form >
77
- ```
78
-
79
- To handle basic file uploads on the server, please look at the corresponding
80
- documentation. Here are a few documentations, if you think I should add some,
81
- please contact me.
82
-
83
- # Compatibility
84
-
85
- Dropzone supports all current browsers and IE up to IE11.
86
-
87
- For all the other browsers, dropzone provides an oldschool file input fallback.
11
+ The original repo with the actual source code of Dropzone is here:
12
+ https://github.com/dropzone/dropzone
88
13
89
14
# MIT License
90
15
0 commit comments