https://github.com/dipanshkhandelwal/thumbnailgeneratorapp
Thumbnail Generator Django App
https://github.com/dipanshkhandelwal/thumbnailgeneratorapp
cv2 django thumbnail
Last synced: 2 months ago
JSON representation
Thumbnail Generator Django App
- Host: GitHub
- URL: https://github.com/dipanshkhandelwal/thumbnailgeneratorapp
- Owner: DipanshKhandelwal
- Created: 2018-07-18T14:19:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-19T22:35:50.000Z (over 7 years ago)
- Last Synced: 2025-04-02T13:11:12.498Z (7 months ago)
- Topics: cv2, django, thumbnail
- Language: Python
- Size: 2.57 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Thumbnail Generator App
Thumbnail Generator Django App
## Update changes
```bash
python3 manage.py makemigrations
python3 manage.py migrate
```
## Create superuser
```bash
python3 manage.py createsuperuser
```
+ Enter name
+ Enter password
## Run server
```bash
python3 manage.py runserver
```
## Test thumbnail creation
### Create new _Content_ object
+ Goto
```
127.0.0.1:8000/admin
```
+ Login
+ Add content object
* Select ``` Type ``` from the dropdown
* Select ``` File ``` by clicking the _Browse_ button
* Leave ``` Thumbnail ``` as empty
+ Click _Save_
### Check thumbnail file
+ Go to project main directory
+ Go to _media_ folder
+ New thumbnail could be found there with name as ``` (_orignal_file_name_).thm ```