forked from shivshankar9/Student-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
imageresize.html
71 lines (56 loc) · 2.08 KB
/
imageresize.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Student Portal</title>
<link rel="shortcut icon" href="./images/logo_title_bar.png">
<link rel="stylesheet" href="./css/homepage.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Bakbak+One&display=swap" rel="stylesheet" />
<!---stylesheet for animation--->
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<link rel="stylesheet" href="imageresize.css">
</head>
<body>
<div id="loader">
<div id="loading-content"></div>
</div>
<div id="allContent" style="display: none;">
<div id="navbar"></div>
<div class="container">
<div class="resizer">
<input type="file" class="resizer__file">
<a id="dwn-btn" href="" download="image.jpg">Download</a>
<div class="dimensions">
<input type="text" class="resizer__input resizer__input--width" value="0">
x
<input type="text" class="resizer__input resizer__input--height" value="0">
<label>
<input type="checkbox" class="resizer__aspect" checked>
Keep Aspect Ratio
</label>
</div>
<div class="preview">
<canvas class="resizer__canvas" width="500" height="500"></canvas>
</div>
</div>
</div>
<script src="imageresize.js"></script>
<!-- Javascript -->
<script src="./js/script.js"></script>
<!-- Scripts for Chatbot -->
<script src="./js/popup_chatbot.js"></script>
<!-- chatbot implementation-->
<!---scripts for animation--->
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init({
offset:400,
duration:1000
});
</script>
</div>
</html>