diff --git a/db.sqlite b/db.sqlite index e05bc4a..2f81c9e 100755 Binary files a/db.sqlite and b/db.sqlite differ diff --git a/main.go b/main.go index 7178d17..d8def88 100644 --- a/main.go +++ b/main.go @@ -21,8 +21,8 @@ var imageExtensions = map[string]bool{ ".png": true, ".jpg": true, ".jpeg": true, - // ".webp": true, - ".bmp": true, + ".webp": true, + ".bmp": true, } func isImageFile(path string) bool { diff --git a/templates/gallery.html b/templates/gallery.html index dd9ae94..aa6a16b 100644 --- a/templates/gallery.html +++ b/templates/gallery.html @@ -18,8 +18,8 @@ .page.landscape { width: 100vh; height: 100vw; - transform: rotate(90deg) translateY(-100%); - transform-origin: top left; + transform: rotate(270deg) translateY(-50%); + transform-origin: top right; }