Skip to content

Live image cropping and upload to server and saving path to mysql database.

Notifications You must be signed in to change notification settings

farrukhtahseen/imagecrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Cropping App This is a simple image cropping app that allows you to live preview and change the cropped area of an image. You can then upload the cropped image to a server and monitor the upload progress with a visually appealing progress bar.

Features

Live preview of the cropped image area. Ability to adjust and change the cropped area. Upload the cropped image to a server. Display a progress bar to visualize the upload status.

Getting Started

Clone or download the repository to your local machine. Install any necessary dependencies by running npm install or yarn install. Configure the server-side code to handle the file upload. You can refer to the provided server code example or modify it to fit your specific server environment.

Start the server by running node server.js or npm start. Access the application in your web browser by visiting http://localhost:3000 or the appropriate URL based on your server configuration.

Usage

Select an image file using the file input field. Use the image selection area to adjust the crop region as desired. The live preview will update to show the cropped image based on the selected area. If you're satisfied with the cropped image, click the "Upload" button. The progress bar will start animating to indicate the upload progress. Once the upload is complete, a completion message or success notification will be displayed. Technologies Used HTML, CSS, and JavaScript for the frontend. imgareaselect plugin for image cropping functionality. jQuery for DOM manipulation and AJAX requests. Express.js and Multer for server-side handling of file uploads.

Acknowledgements

imgareaselect - A jQuery plugin for selecting a rectangular area of an image. Express.js - A web application framework for Node.js. Multer - A middleware for handling file uploads in Node.js. Feel free to modify and enhance the application according to your specific requirements. Happy image cropping and uploading!

About

Live image cropping and upload to server and saving path to mysql database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published