@@ -76,7 +76,11 @@ Install via [NPM](https://www.npmjs.com/package/blueimp-load-image):
76
76
npm install blueimp-load-image
77
77
```
78
78
79
- Include the (combined and minified) JavaScript Load Image script in your HTML
79
+ This will install the JavaScript files inside
80
+ ` ./node_modules/blueimp-load-image/js/ ` relative to your current directory, from
81
+ where you can copy them into a folder that is served by your web server.
82
+
83
+ Next include the combined and minified JavaScript Load Image script in your HTML
80
84
markup:
81
85
82
86
``` html
@@ -86,17 +90,31 @@ markup:
86
90
Or alternatively, choose which components you want to include:
87
91
88
92
``` html
93
+ <!-- required for all operations -->
89
94
<script src =" js/load-image.js" ></script >
90
95
96
+ <!-- required for scaling, cropping and as dependency for rotation -->
91
97
<script src =" js/load-image-scale.js" ></script >
98
+
99
+ <!-- required to parse meta data and to restore the complete image head -->
92
100
<script src =" js/load-image-meta.js" ></script >
101
+
102
+ <!-- required to parse meta data from images loaded via URL -->
93
103
<script src =" js/load-image-fetch.js" ></script >
104
+
105
+ <!-- required for rotation and cross-browser image orientation -->
94
106
<script src =" js/load-image-orientation.js" ></script >
95
107
108
+ <!-- required to parse Exif tags and cross-browser image orientation -->
96
109
<script src =" js/load-image-exif.js" ></script >
110
+
111
+ <!-- required to display text mappings for Exif tags -->
97
112
<script src =" js/load-image-exif-map.js" ></script >
98
113
114
+ <!-- required to parse IPTC tags -->
99
115
<script src =" js/load-image-iptc.js" ></script >
116
+
117
+ <!-- required to display text mappings for IPTC tags -->
100
118
<script src =" js/load-image-iptc-map.js" ></script >
101
119
```
102
120
0 commit comments