First commit of thumbsup
This commit is contained in:
18
config-npm.json
Normal file
18
config-npm.json
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"input": "../Sites/Gordes",
|
||||||
|
"output": "./website",
|
||||||
|
"exclude": ["_Archived Items/","thumbsup"],
|
||||||
|
"include-raw-photos": true,
|
||||||
|
"thumb-size": 250,
|
||||||
|
"large-size": 1600,
|
||||||
|
"photo-download": "symlink",
|
||||||
|
"cleanup": true,
|
||||||
|
"sort-albums-by": "title",
|
||||||
|
"sort-media-by": "date",
|
||||||
|
"sort-media-direction": "desc",
|
||||||
|
"home-album-name": "Accueil",
|
||||||
|
"theme-path": "theme-flow-bruno/theme",
|
||||||
|
"title": "Photos...",
|
||||||
|
"embed-exif": true,
|
||||||
|
"locale": "fr"
|
||||||
|
}
|
||||||
19
config.json
Normal file
19
config.json
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"input": "/input/Flore",
|
||||||
|
"output": "/output/gallery",
|
||||||
|
"exclude": ["_Archived Items/","thumbsup"],
|
||||||
|
"include-raw-photos": true,
|
||||||
|
"thumb-size": 250,
|
||||||
|
"large-size": 1600,
|
||||||
|
"photo-download": "symlink",
|
||||||
|
"cleanup": true,
|
||||||
|
"sort-albums-by": "title",
|
||||||
|
"sort-media-by": "date",
|
||||||
|
"sort-media-direction": "desc",
|
||||||
|
"home-album-name": "Accueil",
|
||||||
|
"theme-path": "/input/thumbsup/theme-flow/theme",
|
||||||
|
"title": "Photos...",
|
||||||
|
"embed-exif": true,
|
||||||
|
"locale": "fr",
|
||||||
|
"footer": "bruno@clicclac.info"
|
||||||
|
}
|
||||||
19
config.json.bak
Normal file
19
config.json.bak
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"input": "/input/Flore",
|
||||||
|
"output": "/output/gallery",
|
||||||
|
"exclude": ["_Archived Items/","thumbsup"],
|
||||||
|
"include-raw-photos": true,
|
||||||
|
"thumb-size": 250,
|
||||||
|
"large-size": 1600,
|
||||||
|
"photo-download": "symlink",
|
||||||
|
"cleanup": true,
|
||||||
|
"sort-albums-by": "title",
|
||||||
|
"sort-media-by": "date",
|
||||||
|
"sort-media-direction": "desc",
|
||||||
|
"home-album-name": "Accueil",
|
||||||
|
"theme-path": "/input/thumbsup/theme-flow/theme",
|
||||||
|
"title": "Photos...",
|
||||||
|
"embed-exif": true,
|
||||||
|
"locale": "fr",
|
||||||
|
"footer": "bruno@clicclac.info"
|
||||||
|
}
|
||||||
4
readme.md
Normal file
4
readme.md
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
15/03/2021
|
||||||
|
Avec la version 2.15.0, les boutons plein écran et download sont activés par défaut. Le thème theme-flow-bruno n'as plus de nécéssité.
|
||||||
|
|
||||||
1
theme-flow
Submodule
1
theme-flow
Submodule
Submodule theme-flow added at 30b9f03162
1
theme-flow-bruno
Submodule
1
theme-flow-bruno
Submodule
Submodule theme-flow-bruno added at d85f5e3086
3
theme_options.json
Normal file
3
theme_options.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
sliderInterval: 500
|
||||||
|
}
|
||||||
15
thumbsup.sh
Normal file
15
thumbsup.sh
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#/bin/bash -e
|
||||||
|
|
||||||
|
sudo docker run -t \
|
||||||
|
-v /volume1/photo:/input:ro \
|
||||||
|
-v /volume1/web:/output \
|
||||||
|
thumbsupgallery/thumbsup:latest \
|
||||||
|
thumbsup --config "/input/thumbsup/config.json"
|
||||||
|
|
||||||
|
echo "Changing forder permission /volume1/web/gallery/ ..."
|
||||||
|
# files/folders in /gallery/public don't have permissions, so we change them to 755
|
||||||
|
|
||||||
|
sudo chmod -R 755 /volume1/web/gallery/
|
||||||
|
|
||||||
|
echo "Go to https://clicclac.synology.me/gallery/"
|
||||||
|
echo ""
|
||||||
13
thumbsup_update.sh
Normal file
13
thumbsup_update.sh
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#/bin/bash -e
|
||||||
|
|
||||||
|
# Ne pas oublier l'option -i (attach the container’s STDIN)
|
||||||
|
sudo docker start -i thumbsup2.15
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Changing forder permission /volume1/web/gallery/ ..."
|
||||||
|
# files/folders in /gallery/public don't have permissions, so we change them to 755
|
||||||
|
|
||||||
|
sudo chmod -R 755 /volume1/web/gallery/
|
||||||
|
|
||||||
|
echo "Go to https://clicclac.synology.me/gallery/"
|
||||||
|
echo ""
|
||||||
Reference in New Issue
Block a user