A modern web application for resizing and cropping images with an intuitive drag-and-drop interface.
- 🖼️ Image upload via drag & drop or file browser
- ✂️ Crop images with interactive selection
- 📐 Resize images with aspect ratio lock
- 🎯 Real-time preview
- 💾 Download processed images
- 🎨 Modern and responsive UI
- Node.js & Express
- HTML5 & CSS3
- JavaScript (ES6+)
- Bootstrap 5
- Font Awesome Icons
-
Clone the repository:
git clone https://github.com/khadnhdev/image-drop.git -
Install dependencies:
npm install -
Create an
.envfile based on.env.example:cp .env.example .env -
Create uploads directory:
mkdir uploads -
Start the server:
npm start -
Visit
http://localhost:3000in your browser
PORT: Server port number (default: 3000)UPLOAD_DIR: Directory for storing uploaded images (default: uploads)
MIT License - feel free to use this project for personal or commercial purposes.
Created with ❤️ @https://www.linkedin.com/in/khadnh