An easy to use, fully browser-side image resizer perfect for creating Instagram posts and other social media content. No server required - all processing happens directly in your browser!
- πΌοΈ Drag & Drop Upload - Simply drag images onto the app or click to browse
- π Multiple Size Presets - Square (1:1), Portrait (3:4), Landscape (4:3)
- π¨ Smart Fitting Options - Fill (crop to fit) or Fit (show entire image with background)
- π Custom Background Colors - Choose any color for the background when using fit mode
- πΎ Multiple Export Formats - Save as PNG, JPEG, or WebP
- π Live Preview - See exactly how your image will look with SVG rendering
- π± Responsive Design - Works perfectly on mobile and desktop
This project uses GitHub Actions to automatically create draft releases when version tags are pushed:
# Create and push a version tag
git tag v1.0.0
git push origin v1.0.0The workflow will:
- β Create a draft release with auto-generated changelog
- π¦ Generate a source code zip archive
- ποΈ Create a standalone HTML file with inlined CSS/JS
- π Include detailed release notes with features and usage instructions
When you publish the release, it will automatically:
- π Deploy the latest version to GitHub Pages
- π Update the live demo at https://romancow.github.io/img-resizer/
The project structure is simple:
src/
βββ index.html # Main HTML structure
βββ styles.css # Styling and responsive design
βββ script.js # Image processing logic