|
1 | 1 | This application is used for managing image gallery folders and files if is needed in anyplace on a server if the permissions are set to read on them. |
2 | 2 |
|
3 | | -It is build on Django and some vue elements on the ui side. |
| 3 | +It is build on Django and some vue elements on the ui side. Set a python environment and clone this project there. |
4 | 4 |
|
| 5 | +To set the path of the gallery change the code in class "LoadFiles" located in: |
| 6 | + |
| 7 | + https://github.com/LunguGeorgeProgramator/python_gallery_manager/blob/master/gallery/loadFiles.py |
| 8 | + |
| 9 | +Code to change is the path, I build this on a windows OS so my this is my pictures path on my computer. Change it to any paht on your machine that has a directories with photos files in them: |
| 10 | + |
| 11 | + PATH = "c:/Users/George/Pictures" |
| 12 | + |
| 13 | +The number of folder per page is set no by default to 100, it can be change to any number in class "Pagination" located in: |
| 14 | + |
| 15 | + https://github.com/LunguGeorgeProgramator/python_gallery_manager/blob/master/gallery/pagination.py |
| 16 | + |
| 17 | +Change code form 100 to any number nedded: |
| 18 | + |
| 19 | + MAX_ON_PAGE = 100 |
0 commit comments