-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
36 lines (32 loc) · 1018 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<title>File Upload Previewer</title>
<meta charset="utf-8" />
<link href="vendor/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="vendor/loaders.css/loaders.min.css" rel="stylesheet" />
<link href="css/jquery.uploadPreviewer.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<div class="row">
<h1>File Upload Previewer Demo</h1>
<p>Click 'Add Files' and choose your files. You will then be able to preview your files!</p>
</div>
<div class="row">
<div id="file-uploader">
<form>
<input type="file" multiple="multiple" />
</form>
</div>
</div>
</div>
</body>
</html>
<script src="vendor/jquery/dist/jquery.min.js"></script>
<script src="jquery.uploadPreviewer.js"></script>
<script type="text/javascript">
$(document).ready(function() {
myUploadInput = $("input[type=file]").uploadPreviewer();
});
</script>