ctucx.git: gallery

static-site-generator for image-galleries [used @ photos.ctu.cx]

commit 2dbba52eba64727815a3b585ef3f8a96d311be9c
parent 72583e2641ea723445874a7986e6ba0adfb8fe62
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 13 Mar 2021 19:43:25 +0100

gallery.nim: fix wrong height
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/gallery.nim b/src/gallery.nim
@@ -245,9 +245,7 @@ proc generateWebsite(targetDir: string, album: Album) =
             "orig":             joinPath("/originals", picture.path.replace(config.sourceDir, ""), picture.filename),
             "filename":         picture.filename,
             "width":            picture.width,
-            "height":           picture.thumbHeight,
-            "thumbWidth":       picture.thumbWidth,
-            "thumbHeight":      picture.height,
+            "height":           picture.height,
             "make":             picture.exif.getOrDefault("Make", "-"),
             "model":            picture.exif.getOrDefault("Model", "-"),
             "lensModel":        picture.exif.getOrDefault("LensModel", "-"),