diff --git a/README.md b/README.md index bac6937..26c2a1b 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,38 @@ # PhotoHUB Just a simple python program to generate static site +## Screenshots + +### Picture Page + + +### Album Page + + +## Installation +``` sh +python3 -m venv venv +python3 -m pip -r requirements.txt +``` + +## Usage + +Move and rename file +```sh +python3 tools/copy.py %your raws% %site location% +``` + +Generate html page +``` sh +python3 src/main.py %site location% +``` ## File -- RAW: (optionnal) -- EDIT_DATA: (optionnal) -- LARGE: high resolution format (optionnal: can be generated by the RAW) -- SMALL: low resolution format (optionnal: can be generated by the LARGE) -- DESQ: description markdown file (optionnal) +### Mandatory +- a .png -### Format supported -``` -RAW: .NEF -LARGE: .png -SMALL: jpeg -EDIT_DATA: .pp3 -DESQ: .md -``` \ No newline at end of file +### Optionnal +- raw {*.NEF} +- readme.md +- (png file).out.pp3 \ No newline at end of file diff --git a/example/icons/file.png b/example/icons/file.png deleted file mode 100644 index 470495a..0000000 Binary files a/example/icons/file.png and /dev/null differ diff --git a/example/img1/img1.NEF b/example/img1/img1.NEF deleted file mode 100644 index 953d2b9..0000000 Binary files a/example/img1/img1.NEF and /dev/null differ diff --git a/example/img1/img1.css b/example/img1/img1.css deleted file mode 100644 index d2d8ddf..0000000 --- a/example/img1/img1.css +++ /dev/null @@ -1,84 +0,0 @@ -body { - background-color: #002b36; - display: flex; - justify-content: center; /* Centre l'image */ - align-items: center; /* Aligne verticalement */ - position: relative; - flex-direction: column; -} - -#small { - max-width: 100%; - height: auto; - display: block; -} - -#download { - background-color: lightgray; - position: absolute; - margin: 10px; - right: 200px; - top: 200px; -} - -#download * { - background-color: aqua; - display: flex; - margin: 10px; -} - -#download * p { - align-items: center; -} - -a { - text-decoration: none; -} - -#download img { - height: 50px; - width: 50px; -} - -pre { - background: #f4f4f4; - padding: 10px; - border-radius: 5px; - overflow-x: auto; - } - - code { - font-family: "Courier New", monospace; - color: #333; - } - - .dropdown-btn { - padding: 10px 20px; - background-color: #4CAF50; - color: white; - border: none; - cursor: pointer; - font-size: 16px; - border-radius: 5px; - display: flex; -} - -/* Cacher le checkbox (pour qu'il ne soit pas visible) */ -.dropdown-checkbox { - display: none; -} - -/* Style du texte qui apparaît lorsque la case est cochée */ -.dropdown-text { - display: none; - margin-top: 10px; - padding: 10px; - background-color: #f1f1f1; - border: 1px solid #ddd; - border-radius: 5px; -} - -/* Quand la case est cochée, afficher le texte */ -.dropdown-checkbox:checked + .dropdown-btn + .dropdown-text { - display: flex; -} \ No newline at end of file diff --git a/example/img1/img1.html b/example/img1/img1.html deleted file mode 100644 index 20c1ad1..0000000 --- a/example/img1/img1.html +++ /dev/null @@ -1,38 +0,0 @@ - - -
- - - - -large
- - -raw
- -
-
-ExifTool Version Number : 12.57
-File Name : img1.NEF
-Directory : ./example/img1
-File Size : 5.7 MB
-
-
-