blueimp / JavaScript-Load-Image

Load images provided as File or Blob objects or via URL. Retrieve an optionally scaled, cropped or rotated HTML img or canvas element. Use methods to parse image metadata to extract IPTC and Exif tags as well as embedded thumbnail images, to overwrite the Exif Orientation value and to restore the complete image header after resizing.
https://blueimp.github.io/JavaScript-Load-Image/
MIT License
4.45k stars 924 forks source link

[Feature] Improve naming, since load-image.js and load-image.min.js are not the same #63

Closed raul782 closed 10 years ago

raul782 commented 10 years ago

The name of the core library load-image.js is misleading from a Developer Experience perspective (Specially for newcomers or people that is using this library as part of file-upload library).

I suggest to rename the core component as load-image.core.js or some name that distance itself from the load-image.min.js which contains the whole suit of components.

Or the other way around, we could use load-image.full.min.js to put emphasis that this minified version has all the components needed.

I know it's stated on the doc's page, but unless you are contributing directly to this library, it's not as straightforward as I think. Most of the time you use it as part of jQuery-File-Upload library.

If you compare this project with jQuery-File-Upload, there is direct correlation between the core component and it's minified version

mattsears18 commented 10 years ago

Thanks for renaming this file and reminding that I should always host my own scripts. Ha

rickterp commented 10 years ago

Seconding what mattsears18 said. Lesson learned the hard way.