A gallery that displays images and one of my favorite images.
This application allows users to view images according to their categories,location, view details of the image and the description of the album. This app also provides the date on which the image was uploaded. The admin is responsible for uploading, editing and deleting images. The users can search for images according to their categories or the album or tag name.
##screenshots
User Requirements | Input | Output |
---|---|---|
View all images | Click on show more | All images will be displayed |
Search for an image | Input the category name in the search bar | All images in that category will display |
View the image details | Click on the image | All the image details will be displayed |
Share image | Click on the share link button | The image link is shared |
View magnified image size | Click on the image | A large image is displayed with the |
share buttons and extra magnify icon |
- Ensure you have Python3.6.x installed
- Clone the Pixels directory
- Create your own virtual environment and activate it using these respective commands:python3.6 -m venv --without-pip virtual && source virtual/bin/activate
- Install all the necessary dependencies necessarry for running the application using this command: pip install-r requirements.txt
- Create a database: psql then create the databse using this command: CREATE DATABASE gallery
- Run migrations using these respective commmands: python3.6 manage.py makemigrations images then: python3.6 manage.py migrate
- Run the app using this command: python3.6 manage.py runserver on the terminal.You can then open the app on your browser
- Python 3.6
- Django
- Django-Material
- Gallery Extensions
- HTML
Copyright(c) 2019 Joflix Ooko (MIT)