Preview dimensions are shown in CSS pixels.
Included files
Downloadable files and component requirements.
- index.html Demo 7,677 bytes
Docs (2)
- LICENSE.txt License 1,613 bytes
- README.md Readme 1,490 bytes
- Languages
- HTML CSS JS
- File type
- javascript
- Version
- 1.0.2
- License
- standard
- File size
- 4.6 KB
Support
Keep the included files together, check the README, and use the listed languages and dependencies. For component-specific help, send us a message below.
Fonts for your project
Get Inter and Source Sans 3, setup instructions, and licenses.
Details
The Image Upload Preview with Size Limit helps developers preview one image and reject files above a configurable byte limit. It includes editable source files for forms and settings.
Features
- Selected image preview
- Client-side file size check
- Oversized file rejection
- Inline validation feedback
- HTML, CSS and JavaScript