https://github.com/geoffdutton/pic-my-upload
I was playing around with the input type="file", especially on a mobile website. This will received an upload, resize it to a max of 800x600 as well as scale it, and then save it localStorage.
https://github.com/geoffdutton/pic-my-upload
Last synced: 2 months ago
JSON representation
I was playing around with the input type="file", especially on a mobile website. This will received an upload, resize it to a max of 800x600 as well as scale it, and then save it localStorage.
- Host: GitHub
- URL: https://github.com/geoffdutton/pic-my-upload
- Owner: geoffdutton
- Created: 2016-08-30T02:16:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-06-29T03:45:13.000Z (about 7 years ago)
- Last Synced: 2025-12-29T02:33:08.581Z (6 months ago)
- Language: JavaScript
- Homepage: https://pic-my-upload.surge.sh/
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pic My Upload
I was playing around with the ``, especially on a mobile website. This will receive a picture, resize it to a max of 800x600, as well as scale it, and then save it localStorage.
If someone could style it better that'd be awesome. I'm not a huge fan of that.
## Example
Working example here: https://pic-my-upload.surge.sh/
## Setup
Clone it, run 'gulp', then upload the 'dist' directory somewhere.
## Credits
* http://stackoverflow.com/questions/10333971/html5-pre-resize-images-before-uploading
* https://github.com/yeoman/generator-webapp
* https://surge.sh/
## License
I don't know... there's nothing special here, I don't really care if you go off and make $6 billion. So use it however you want without any restrictions.