Add image upload utility
Image Handling & Upload Utilities
Role: Build the image upload module for SpotIt so users can attach evidence photos while reporting incidents.
Responsibilities Create and manage the uploads/ folder. Validate uploaded images (JPG, PNG, JPEG). Generate unique filenames using UUID. Save uploaded images securely. Return image paths for database storage. Prevent invalid or corrupted image uploads. Provide reusable utility functions for the frontend. Files Worked On utils.py uploads/ .gitignore Functions Implemented create_upload_folder() save_uploaded_image() validate_image() Deliverables
Contribution Summary
Developed the image handling system for SpotIt, enabling secure upload, validation, and storage of incident evidence images while ensuring compatibility with the reporting workflow and database integration.