This project demonstrates a simple Flask application integrated with Cloudinary, allowing users to upload and manage media files (images, videos) via the Cloudinary service. The app has a clean and simple structure, with static and template directories for handling the front end, and Python scripts for backend integration.
- Cloudinary Integration: Upload images and videos to Cloudinary with ease.
- Flask Framework: Lightweight and fast web framework for Python.
- Dynamic Media Display: Uploaded media is displayed dynamically.
- Responsive Design: Designed with a focus on user experience and modern web standards.
Before running this application, ensure you have the following installed:
- Python 3.x
- Flask
- Cloudinary SDK
-
Clone the Repository
git clone https://github.com/Niketangoyal/EnhanceImage.git cd EnhanceImage
-
Install Dependencies
Install the required dependencies using pip:
pip install -r requirements.txt
-
Set up Cloudinary
Create a
config.py
file and configure your Cloudinary credentials:cloud_name="cloud_name", api_key="api_key", api_secret="api_secret", secure=True
To run the app locally:
python main.py
You can access the app in your browser at http://127.0.0.1:5000/
.
flask-cloudinary-app/
│
├── static/ # Static files (CSS, JavaScript, Images)
├── templates/ # HTML templates
├── main.py # Main application file
├── trycloudinary.py # Cloudinary-related functionalities
├── config.py # Cloudinary-related secrets
├── .gitignore
└── README.md # Project documentation
- Open the app in your browser.
- Upload an image or video file using the provided form.
- The uploaded media will be sent to Cloudinary and displayed in the gallery.
- Flask: Web framework for Python.
- Cloudinary: Cloud-based media management service.
- HTML/CSS/JavaScript: Frontend technologies for designing the user interface.