Giter Club home page Giter Club logo

gallerydeluxe's Introduction

Note 1: See this Gallery Deluxe Starter for a fast route to get this up and running.

Note 2: If you need multiple galleries, see Galleries Deluxe.


A Hugo Module to show a photo gallery. It's very fast/effective, especially if you have lots of images on display.

This theme is what you see on staticbattery.com which, at the time of writing this, scores 100 at Google PageSpeed for both mobile and desktop.

Configuration

The recommended way to add this to your site is to include it as a Hugo Module. See Gallery Deluxe Starter for a starter template. Another example is staticbattery.com.

Params

[params]
    [params.gallerydeluxe]
        # Shuffle the images in the gallery to give the impression of a new gallery each time.
        shuffle = false

        # Reverse the order of the images in the gallery.
        reverse = false

         # Enable Exif data in the gallery.
         # See https://gohugo.io/content-management/image-processing/#exif-data for how to filter tags.
        enable_exif = false

          # Optional watermark file for the large images.
        [params.gallerydeluxe.watermark]
            image = "images/gopher-hero8.png" # relative to /assets
            posx  = "left"                    # one of "left", "center", "right"
            posy  = "bottom"                  # one of "top", "center", "bottom"

If you want full control over how your images gets created, create and adjust a copy of layouts/partials/gallerydeluxe/create-thumbs.html into your own project.

Credits

Credit to Dan Schlosser for the Pig JS library.

gallerydeluxe's People

Contributors

adamaltmejd avatar bep avatar nalsai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gallerydeluxe's Issues

Add watermark support

Thank you for developing Gallery Deluxe! (it was the only gallery that "just worked" for me).

Would be great if during/after generation, gallery supported applying a .png watermark on top of images.

Why it has to be done on the gallery level and not at originals level is that tiny previews should not have a watermark, while when user clicks to see the larger picture - it should have one.

Right clicking on opened image

Hey, I love hugo and gallerydeluxe.

A tiny issue I have with gallerydeluxe is that right clicking an opened image and selecting "open image in new tab" opens a small preview image, instead of the full image.

The preview image is made invisible with opacity: 0; but it stays in front of the full image.
Maybe pointer-events: none could be added to the preview image in addition to opacity: 0;?

Example how can gallerydeluxe with another theme

I have a website built with a Paperwhite mod theme. And I would like to integrate this module with my website. For example, I want a tab gallery to show my images. Any suggestion how this can be achieved?

Exif Getting Multiple Info

Thanks for the adding the exif info.

before, i just dict each tags i need instead using "Exif" .Exif.Tags in init.html, because i have no idea how to parse ExposureTime|*big.Rat":"1/100 or "FocalLengthIn35mmFilm|int":"28" using javascript. ๐Ÿคฃ
And I'm imagining the exif info will be on top / bottom of the image (just like the other lightbox)
never thought about showing on overlay like this.. ๐Ÿ‘


So i'm testing the exif updates,
and modify the exif part from the config.toml into:

includeFields = 'Artist|Make|Model|LensModel|FocalLength|FNumber|ExposureTime'

and the exif info is showing more tags because of the 'almost same' tags.. (i dont know how to say it correctly)

{"Exif":{"Lat":0,"Long":0,"Date":"2022-10-01T12:16:39+07:00","Tags":{"ExposureTime|*big.Rat":"1/100","FNumber":1.9,"FocalLength":3.7,"FocalLengthIn35mmFilm|int":"28","Make":"samsung","MakerNote":"0100 Z@P","Model":"SM-A710F"}}}

this is the content of json file.
maybe because i put the "FocalLength", so the "FocalLength" and the "FocalLengthIn35mmFilm" is inserted too..
and "Make" is almost the same with "MakerNote" ..

this is the screenshoot:

hglahsldgkhsdhgds

test url: https://splendid-pastelito-2af510.netlify.app/
test repo: https://github.com/andremoreno/gallerydeluxe

once again thank you..

Support Exif orientation

in my gallery i have 50 images take by andorid an iphone cameras

the gallery works great and create the thumbnails for the website, but the most thumbnails are coming with the wrong orientation

on the same image the thumbnail is always the same error, that means, i cleared the cache and rebuild the project, but an image with a wrong thumbnail orientation of 90 or 180 degrees, always had the same error

the large image of an "wrong" thumbnail, comes in the correct orientation

in the code i see, that the orientation is calculated from the exif x and y dimensions, but if i analyze my images, the dimensions looking fine

Blinking Thumbnail

While scrolling, the thumbnails are blinking on the iPhone.
Tested on Safari and Chrome.
There seems to be a delay in changing the position of the thumbnails.

RPReplay_Final1716710958-ezgif com-resize

Struggling with deployment (newbie)

Hey Bep. Loving the theme and Hugo so far.
Im just started to learn Hugo and i have been struggling to deploy this theme locally for the past day. (Read the Hugo documentation, but no luck)
Would be awesome If you could add some manual how to deploy this properly (for noobs like me).
Thank you!

Suggestion: allow the inclusion of external images in galleries

Currently the theme generate gallery by listing image files in /content/imgaes. I think it would be useful if it's possible to include images hosted on external source, since many folks host sites on Github while Github is not ideal for hosting a large number of big image files. The way of inclusion could be - as I can come up with - putting image urls in a certain format in the gallery's index.md, or a single file containing list of urls in /content/imgaes.

How to install this theme to local hugo

I'm a rookie, I like this theme very much, but I don't know how to install it on my hugo, is there any other easy way to install this theme? I built hugo locally on windows. Look forward to your answer, thank you!

[Suggestion] Can it be made compatible with vercel?

[Suggestion] Can it be made compatible with vercel?

I spent a few hours trying to deploy on vercel. Although the compilation error has been resolved, the photos are not displayed. What could be the most likely reason for this?

https://galleryqdsurfcom.vercel.app/
image

1. Build Command = amazon-linux-extras install golang1.11 && hugo --gc --minify -b $VERCEL_URL

image

2.Environment Variables , HUGO_VERSION = 0.104.2

3. Building log NO ERROR as below:

[21:15:56.546] Running build in San Francisco, USA (West) โ€“ sfo1
[21:15:56.601] Cloning github.com/liangyimingcom/galleryqdsurfcom (Branch: main, Commit: 6feab99)
[21:15:57.749] Cloning completed: 1.148s
[21:15:57.912] Restored build cache
[21:15:57.955] Running "vercel build"
[21:15:58.555] Vercel CLI 28.18.5
[21:15:59.246] Installing Hugo version 0.104.2
[21:16:01.801] Cleaning repos: amzn2-core amzn2extra-golang1.11
[21:16:01.804] 0 metadata files removed
[21:16:01.804] 0 sqlite files removed
[21:16:01.804] 0 metadata files removed
[21:16:05.907] Resolving Dependencies
[21:16:05.908] --> Running transaction check
[21:16:05.908] ---> Package golang.x86_64 0:1.18.9-1.amzn2.0.1 will be installed
[21:16:05.911] --> Processing Dependency: golang-src = 1.18.9-1.amzn2.0.1 for package: golang-1.18.9-1.amzn2.0.1.x86_64
[21:16:06.158] --> Processing Dependency: golang-bin = 1.18.9-1.amzn2.0.1 for package: golang-1.18.9-1.amzn2.0.1.x86_64
[21:16:06.163] --> Processing Dependency: go-srpm-macros for package: golang-1.18.9-1.amzn2.0.1.x86_64
[21:16:06.174] --> Running transaction check
[21:16:06.175] ---> Package go-srpm-macros.noarch 0:3.0.15-23.amzn2.0.2 will be installed
[21:16:06.176] --> Processing Dependency: redhat-rpm-config for package: go-srpm-macros-3.0.15-23.amzn2.0.2.noarch
[21:16:06.179] ---> Package golang-bin.x86_64 0:1.18.9-1.amzn2.0.1 will be installed
[21:16:06.192] --> Processing Dependency: mercurial for package: golang-bin-1.18.9-1.amzn2.0.1.x86_64
[21:16:06.194] --> Processing Dependency: subversion for package: golang-bin-1.18.9-1.amzn2.0.1.x86_64
[21:16:06.197] ---> Package golang-src.noarch 0:1.18.9-1.amzn2.0.1 will be installed
[21:16:06.197] --> Running transaction check
[21:16:06.197] ---> Package mercurial.x86_64 0:2.6.2-10.amzn2 will be installed
[21:16:06.212] ---> Package subversion.x86_64 0:1.7.14-16.amzn2.0.1 will be installed
[21:16:06.238] --> Processing Dependency: subversion-libs(x86-64) = 1.7.14-16.amzn2.0.1 for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.240] --> Processing Dependency: systemd-sysv for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.248] --> Processing Dependency: libsvn_wc-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.249] --> Processing Dependency: libsvn_subr-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.249] --> Processing Dependency: libsvn_repos-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.249] --> Processing Dependency: libsvn_ra_svn-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.249] --> Processing Dependency: libsvn_ra_neon-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.250] --> Processing Dependency: libsvn_ra_local-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.250] --> Processing Dependency: libsvn_ra-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.250] --> Processing Dependency: libsvn_fs_util-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.250] --> Processing Dependency: libsvn_fs_fs-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.250] --> Processing Dependency: libsvn_fs_base-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.251] --> Processing Dependency: libsvn_fs-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.252] --> Processing Dependency: libsvn_diff-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.252] --> Processing Dependency: libsvn_delta-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.252] --> Processing Dependency: libsvn_client-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.252] --> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.252] --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.256] --> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.7.14-16.amzn2.0.1.x86_64
[21:16:06.259] ---> Package system-rpm-config.noarch 0:9.1.0-76.amzn2.0.14 will be installed
[21:16:06.265] --> Processing Dependency: dwz >= 0.4 for package: system-rpm-config-9.1.0-76.amzn2.0.14.noarch
[21:16:06.267] --> Processing Dependency: zip for package: system-rpm-config-9.1.0-76.amzn2.0.14.noarch
[21:16:06.268] --> Processing Dependency: perl-srpm-macros for package: system-rpm-config-9.1.0-76.amzn2.0.14.noarch
[21:16:06.270] --> Running transaction check
[21:16:06.270] ---> Package apr.x86_64 0:1.7.2-1.amzn2 will be installed
[21:16:06.283] ---> Package apr-util.x86_64 0:1.6.3-1.amzn2.0.1 will be installed
[21:16:06.287] --> Processing Dependency: apr-util-bdb(x86-64) = 1.6.3-1.amzn2.0.1 for package: apr-util-1.6.3-1.amzn2.0.1.x86_64
[21:16:06.289] ---> Package dwz.x86_64 0:0.11-3.amzn2.0.3 will be installed
[21:16:06.292] ---> Package neon.x86_64 0:0.30.0-3.amzn2.0.2 will be installed
[21:16:06.301] --> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.30.0-3.amzn2.0.2.x86_64
[21:16:06.303] ---> Package perl-srpm-macros.noarch 0:1-8.amzn2.0.1 will be installed
[21:16:06.303] ---> Package subversion-libs.x86_64 0:1.7.14-16.amzn2.0.1 will be installed
[21:16:06.307] ---> Package systemd-sysv.x86_64 0:219-78.amzn2.0.22 will be installed
[21:16:06.309] --> Processing Dependency: systemd = 219-78.amzn2.0.22 for package: systemd-sysv-219-78.amzn2.0.22.x86_64
[21:16:06.314] ---> Package zip.x86_64 0:3.0-11.amzn2.0.2 will be installed
[21:16:06.316] --> Running transaction check
[21:16:06.317] ---> Package apr-util-bdb.x86_64 0:1.6.3-1.amzn2.0.1 will be installed
[21:16:06.317] ---> Package pakchois.x86_64 0:0.4-10.amzn2.0.2 will be installed
[21:16:06.319] ---> Package systemd.x86_64 0:219-78.amzn2.0.21 will be updated
[21:16:06.415] ---> Package systemd.x86_64 0:219-78.amzn2.0.22 will be an update
[21:16:06.464] --> Processing Dependency: systemd-libs = 219-78.amzn2.0.22 for package: systemd-219-78.amzn2.0.22.x86_64
[21:16:06.480] --> Running transaction check
[21:16:06.480] ---> Package systemd-libs.x86_64 0:219-78.amzn2.0.21 will be updated
[21:16:06.484] ---> Package systemd-libs.x86_64 0:219-78.amzn2.0.22 will be an update
[21:16:06.689] --> Finished Dependency Resolution
[21:16:06.711]
[21:16:06.712] Dependencies Resolved
[21:16:06.716]
[21:16:06.716] ================================================================================
[21:16:06.716] Package Arch Version Repository Size
[21:16:06.716] ================================================================================
[21:16:06.716] Installing:
[21:16:06.716] golang x86_64 1.18.9-1.amzn2.0.1 amzn2-core 692 k
[21:16:06.717] Installing for dependencies:
[21:16:06.717] apr x86_64 1.7.2-1.amzn2 amzn2-core 130 k
[21:16:06.717] apr-util x86_64 1.6.3-1.amzn2.0.1 amzn2-core 101 k
[21:16:06.717] apr-util-bdb x86_64 1.6.3-1.amzn2.0.1 amzn2-core 22 k
[21:16:06.717] dwz x86_64 0.11-3.amzn2.0.3 amzn2-core 98 k
[21:16:06.717] go-srpm-macros noarch 3.0.15-23.amzn2.0.2 amzn2-core 23 k
[21:16:06.717] golang-bin x86_64 1.18.9-1.amzn2.0.1 amzn2-core 104 M
[21:16:06.717] golang-src noarch 1.18.9-1.amzn2.0.1 amzn2-core 9.1 M
[21:16:06.717] mercurial x86_64 2.6.2-10.amzn2 amzn2-core 2.6 M
[21:16:06.718] neon x86_64 0.30.0-3.amzn2.0.2 amzn2-core 166 k
[21:16:06.719] pakchois x86_64 0.4-10.amzn2.0.2 amzn2-core 14 k
[21:16:06.719] perl-srpm-macros noarch 1-8.amzn2.0.1 amzn2-core 4.7 k
[21:16:06.719] subversion x86_64 1.7.14-16.amzn2.0.1 amzn2-core 1.0 M
[21:16:06.719] subversion-libs x86_64 1.7.14-16.amzn2.0.1 amzn2-core 912 k
[21:16:06.719] system-rpm-config noarch 9.1.0-76.amzn2.0.14 amzn2-core 90 k
[21:16:06.719] systemd-sysv x86_64 219-78.amzn2.0.22 amzn2-core 98 k
[21:16:06.719] zip x86_64 3.0-11.amzn2.0.2 amzn2-core 263 k
[21:16:06.719] Updating for dependencies:
[21:16:06.719] systemd x86_64 219-78.amzn2.0.22 amzn2-core 5.0 M
[21:16:06.719] systemd-libs x86_64 219-78.amzn2.0.22 amzn2-core 409 k
[21:16:06.720]
[21:16:06.720] Transaction Summary
[21:16:06.720] ================================================================================
[21:16:06.720] Install 1 Package (+16 Dependent packages)
[21:16:06.720] Upgrade ( 2 Dependent packages)
[21:16:06.720]
[21:16:06.720] Total download size: 125 M
[21:16:06.720] Downloading packages:
[21:16:06.720] Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
[21:16:08.371] --------------------------------------------------------------------------------
[21:16:08.371] Total 75 MB/s | 125 MB 00:01
[21:16:08.409] Running transaction check
[21:16:08.464] Running transaction test
[21:16:08.564] Transaction test succeeded
[21:16:08.565] Running transaction
[21:16:08.726] Installing : apr-1.7.2-1.amzn2.x86_64 1/21
[21:16:08.727] /sbin/ldconfig: /lib64/libvips.so.42 is not a symbolic link
[21:16:08.727]
[21:16:08.727] /sbin/ldconfig: /lib64/libvips-cpp.so.42 is not a symbolic link
[21:16:08.727]
[21:16:08.772] Installing : apr-util-1.6.3-1.amzn2.0.1.x86_64 2/21
[21:16:08.772] /sbin/ldconfig: /lib64/libvips.so.42 is not a symbolic link
[21:16:08.772]
[21:16:08.772] /sbin/ldconfig: /lib64/libvips-cpp.so.42 is not a symbolic link
[21:16:08.772]
[21:16:08.803] Installing : apr-util-bdb-1.6.3-1.amzn2.0.1.x86_64 3/21
[21:16:08.850] Installing : perl-srpm-macros-1-8.amzn2.0.1.noarch 4/21
[21:16:09.319] Installing : zip-3.0-11.amzn2.0.2.x86_64 5/21
[21:16:09.403] Installing : mercurial-2.6.2-10.amzn2.x86_64 6/21
[21:16:09.427] Updating : systemd-libs-219-78.amzn2.0.22.x86_64 7/21
[21:16:09.427] /sbin/ldconfig: /lib64/libvips.so.42 is not a symbolic link
[21:16:09.427]
[21:16:09.427] /sbin/ldconfig: /lib64/libvips-cpp.so.42 is not a symbolic link
[21:16:09.427]
[21:16:10.635] Updating : systemd-219-78.amzn2.0.22.x86_64 8/21
[21:16:10.635] Failed to get D-Bus connection: Operation not permitted
[21:16:10.675] Installing : systemd-sysv-219-78.amzn2.0.22.x86_64 9/21
[21:16:10.697] Installing : pakchois-0.4-10.amzn2.0.2.x86_64 10/21
[21:16:10.697] /sbin/ldconfig: /lib64/libvips.so.42 is not a symbolic link
[21:16:10.697]
[21:16:10.697] /sbin/ldconfig: /lib64/libvips-cpp.so.42 is not a symbolic link
[21:16:10.697]
[21:16:10.764] Installing : neon-0.30.0-3.amzn2.0.2.x86_64 11/21
[21:16:10.764] /sbin/ldconfig: /lib64/libvips.so.42 is not a symbolic link
[21:16:10.764]
[21:16:10.764] /sbin/ldconfig: /lib64/libvips-cpp.so.42 is not a symbolic link
[21:16:10.765]
[21:16:10.908] Installing : subversion-libs-1.7.14-16.amzn2.0.1.x86_64 12/21
[21:16:10.908] /sbin/ldconfig: /lib64/libvips.so.42 is not a symbolic link
[21:16:10.908]
[21:16:10.909] /sbin/ldconfig: /lib64/libvips-cpp.so.42 is not a symbolic link
[21:16:10.909]
[21:16:11.126] Installing : subversion-1.7.14-16.amzn2.0.1.x86_64 13/21
[21:16:11.145] Installing : dwz-0.11-3.amzn2.0.3.x86_64 14/21
[21:16:11.177] Installing : go-srpm-macros-3.0.15-23.amzn2.0.2.noarch 15/21
[21:16:13.271] Installing : system-rpm-config-9.1.0-76.amzn2.0.14.noarch 16/21
[21:16:13.506] Installing : golang-src-1.18.9-1.amzn2.0.1.noarch 17/21
[21:16:25.051] Installing : golang-1.18.9-1.amzn2.0.1.x86_64 18/21
[21:16:25.103] Installing : golang-bin-1.18.9-1.amzn2.0.1.x86_64 19/21
[21:16:25.148] Cleanup : systemd-219-78.amzn2.0.21.x86_64 20/21
[21:16:25.165] Cleanup : systemd-libs-219-78.amzn2.0.21.x86_64 21/21
[21:16:25.166] /sbin/ldconfig: /lib64/libvips.so.42 is not a symbolic link
[21:16:25.166]
[21:16:25.166] /sbin/ldconfig: /lib64/libvips-cpp.so.42 is not a symbolic link
[21:16:25.166]
[21:16:25.217] Verifying : subversion-libs-1.7.14-16.amzn2.0.1.x86_64 1/21
[21:16:25.227] Verifying : systemd-sysv-219-78.amzn2.0.22.x86_64 2/21
[21:16:25.237] Verifying : apr-util-bdb-1.6.3-1.amzn2.0.1.x86_64 3/21
[21:16:25.247] Verifying : neon-0.30.0-3.amzn2.0.2.x86_64 4/21
[21:16:25.258] Verifying : system-rpm-config-9.1.0-76.amzn2.0.14.noarch 5/21
[21:16:25.271] Verifying : systemd-219-78.amzn2.0.22.x86_64 6/21
[21:16:25.281] Verifying : golang-bin-1.18.9-1.amzn2.0.1.x86_64 7/21
[21:16:25.293] Verifying : apr-1.7.2-1.amzn2.x86_64 8/21
[21:16:25.304] Verifying : golang-src-1.18.9-1.amzn2.0.1.noarch 9/21
[21:16:25.315] Verifying : dwz-0.11-3.amzn2.0.3.x86_64 10/21
[21:16:25.325] Verifying : golang-1.18.9-1.amzn2.0.1.x86_64 11/21
[21:16:25.334] Verifying : go-srpm-macros-3.0.15-23.amzn2.0.2.noarch 12/21
[21:16:25.343] Verifying : apr-util-1.6.3-1.amzn2.0.1.x86_64 13/21
[21:16:25.354] Verifying : pakchois-0.4-10.amzn2.0.2.x86_64 14/21
[21:16:25.366] Verifying : systemd-libs-219-78.amzn2.0.22.x86_64 15/21
[21:16:25.377] Verifying : mercurial-2.6.2-10.amzn2.x86_64 16/21
[21:16:25.389] Verifying : zip-3.0-11.amzn2.0.2.x86_64 17/21
[21:16:25.399] Verifying : subversion-1.7.14-16.amzn2.0.1.x86_64 18/21
[21:16:25.447] Verifying : perl-srpm-macros-1-8.amzn2.0.1.noarch 19/21
[21:16:25.449] Verifying : systemd-219-78.amzn2.0.21.x86_64 20/21
[21:16:25.501] Verifying : systemd-libs-219-78.amzn2.0.21.x86_64 21/21
[21:16:25.501]
[21:16:25.501] Installed:
[21:16:25.502] golang.x86_64 0:1.18.9-1.amzn2.0.1
[21:16:25.502]
[21:16:25.502] Dependency Installed:
[21:16:25.502] apr.x86_64 0:1.7.2-1.amzn2
[21:16:25.502] apr-util.x86_64 0:1.6.3-1.amzn2.0.1
[21:16:25.502] apr-util-bdb.x86_64 0:1.6.3-1.amzn2.0.1
[21:16:25.502] dwz.x86_64 0:0.11-3.amzn2.0.3
[21:16:25.502] go-srpm-macros.noarch 0:3.0.15-23.amzn2.0.2
[21:16:25.502] golang-bin.x86_64 0:1.18.9-1.amzn2.0.1
[21:16:25.502] golang-src.noarch 0:1.18.9-1.amzn2.0.1
[21:16:25.502] mercurial.x86_64 0:2.6.2-10.amzn2
[21:16:25.503] neon.x86_64 0:0.30.0-3.amzn2.0.2
[21:16:25.503] pakchois.x86_64 0:0.4-10.amzn2.0.2
[21:16:25.503] perl-srpm-macros.noarch 0:1-8.amzn2.0.1
[21:16:25.503] subversion.x86_64 0:1.7.14-16.amzn2.0.1
[21:16:25.503] subversion-libs.x86_64 0:1.7.14-16.amzn2.0.1
[21:16:25.503] system-rpm-config.noarch 0:9.1.0-76.amzn2.0.14
[21:16:25.503] systemd-sysv.x86_64 0:219-78.amzn2.0.22
[21:16:25.503] zip.x86_64 0:3.0-11.amzn2.0.2
[21:16:25.503]
[21:16:25.503] Dependency Updated:
[21:16:25.503] systemd.x86_64 0:219-78.amzn2.0.22 systemd-libs.x86_64 0:219-78.amzn2.0.22
[21:16:25.503]
[21:16:25.503] Complete!
[21:16:26.281] Installing golang
[21:16:26.281] 0 ansible2 available
[21:16:26.281] [ =2.4.2 =2.4.6 =2.8 =stable ]
[21:16:26.281] 2 httpd_modules available [ =1.0 =stable ]
[21:16:26.281] 3 memcached1.5 available
[21:16:26.281] [ =1.5.1 =1.5.16 =1.5.17 ]
[21:16:26.281] 6 postgresql10 available [ =10 =stable ]
[21:16:26.281] 9 R3.4 available [ =3.4.3 =stable ]
[21:16:26.281] 10 rust1 available
[21:16:26.281] [ =1.22.1 =1.26.0 =1.26.1 =1.27.2 =1.31.0 =1.38.0
[21:16:26.282] =stable ]
[21:16:26.282] 18 libreoffice available
[21:16:26.282] [ =5.0.6.2_15 =5.3.6.1 =stable ]
[21:16:26.282] 19 gimp available [ =2.8.22 ]
[21:16:26.282] 20 docker available
[21:16:26.282] [ =17.12.1 =18.03.1 =18.06.1 =18.09.9 =stable ]
[21:16:26.282] 21 mate-desktop1.x available
[21:16:26.282] [ =1.19.0 =1.20.0 =stable ]
[21:16:26.282] 22 GraphicsMagick1.3 available
[21:16:26.282] [ =1.3.29 =1.3.32 =1.3.34 =stable ]
[21:16:26.282] 23 tomcat8.5 available
[21:16:26.282] [ =8.5.31 =8.5.32 =8.5.38 =8.5.40 =8.5.42 =8.5.50
[21:16:26.282] =stable ]
[21:16:26.282] 24 epel available [ =7.11 =stable ]
[21:16:26.282] 25 testing available [ =1.0 =stable ]
[21:16:26.283] 26 ecs available [ =stable ]
[21:16:26.283] 27 corretto8 available
[21:16:26.283] [ =1.8.0_192 =1.8.0_202 =1.8.0_212 =1.8.0_222 =1.8.0_232
[21:16:26.283] =1.8.0_242 =stable ]
[21:16:26.283] 29 golang1.11=latest enabled
[21:16:26.283] [ =1.11.3 =1.11.11 =1.11.13 =stable ]
[21:16:26.283] 30 squid4 available [ =4 =stable ]
[21:16:26.283] 32 lustre2.10 available
[21:16:26.283] [ =2.10.5 =2.10.8 =stable ]
[21:16:26.283] 33 java-openjdk11 available [ =11 =stable ]
[21:16:26.283] 34 lynis available [ =stable ]
[21:16:26.283] 36 BCC available [ =0.x =stable ]
[21:16:26.283] 37 mono available [ =5.x =stable ]
[21:16:26.283] 38 nginx1 available [ =stable ]
[21:16:26.283] 40 mock available [ =stable ]
[21:16:26.283] 41 postgresql11 available [ =11 =stable ]
[21:16:26.284] 43 livepatch available [ =stable ]
[21:16:26.284] 44 python3.8 available [ =stable ]
[21:16:26.284] 45 haproxy2 available [ =stable ]
[21:16:26.284] 46 collectd available [ =stable ]
[21:16:26.284] 47 aws-nitro-enclaves-cli available [ =stable ]
[21:16:26.284] 48 R4 available [ =stable ]
[21:16:26.284] 49 kernel-5.4 available [ =stable ]
[21:16:26.284] 50 selinux-ng available [ =stable ]
[21:16:26.284] 51 php8.0 available [ =stable ]
[21:16:26.284] 52 tomcat9 available [ =stable ]
[21:16:26.284] 53 unbound1.13 available [ =stable ]
[21:16:26.284] 54 mariadb10.5 available [ =stable ]
[21:16:26.284] 55 kernel-5.10 available [ =stable ]
[21:16:26.285] 56 redis6 available [ =stable ]
[21:16:26.285] 57 ruby3.0 available [ =stable ]
[21:16:26.285] 58 postgresql12 available [ =stable ]
[21:16:26.285] 59 postgresql13 available [ =stable ]
[21:16:26.285] 60 mock2 available [ =stable ]
[21:16:26.285] 61 dnsmasq2.85 available [ =stable ]
[21:16:26.285] 62 kernel-5.15 available [ =stable ]
[21:16:26.285] 63 postgresql14 available [ =stable ]
[21:16:26.285] 64 firefox available [ =stable ]
[21:16:26.285] 65 lustre available [ =stable ]
[21:16:26.285] 66 php8.1 available [ =stable ]
[21:16:26.285] 67 awscli1 available [ =stable ]
[21:16:26.287] 68 php8.2 available [ =stable ]
[21:16:26.287] 69 dnsmasq available [ =stable ]
[21:16:26.287] 70 unbound1.17 available [ =stable ]
[21:16:26.287] 71 golang1.19 available [ =stable ]
[21:16:27.968] hugo: collected modules in 1645 ms
[21:16:27.987] Start building sites โ€ฆ
[21:16:27.987] hugo v0.104.2-84cbe724983b4b6153fd39aae0888cbb89a56cda+extended linux/amd64 BuildDate=2022-09-29T10:31:09Z VendorInfo=gohugoio
[21:16:36.013]
[21:16:36.014] | EN
[21:16:36.014] -------------------+------
[21:16:36.014] Pages | 2
[21:16:36.014] Paginator pages | 0
[21:16:36.014] Non-page files | 32
[21:16:36.014] Static files | 1
[21:16:36.014] Processed images | 128
[21:16:36.014] Aliases | 0
[21:16:36.014] Sitemaps | 1
[21:16:36.015] Cleaned | 0
[21:16:36.015]
[21:16:36.015] Total in 9691 ms
[21:16:36.314] Build Completed in /vercel/output [37s]
[21:16:36.451] Deploying outputs...
[21:16:38.935] Generated build outputs:
[21:16:38.936] - Static files: 170
[21:16:38.936] - Prerenders: 0
[21:16:38.936] - Serverless Functions: 0
[21:16:38.936] - Edge Functions: 0
[21:16:38.936] Deployed outputs in 2s
[21:16:39.379] Deployment completed
[21:16:40.673] Uploading build cache [29.00 B]...
[21:16:40.835] Build cache uploaded: 162.489ms

image

Error: Error building site: failed to render pages: render of "home" failed:

Error: Error building site: failed to render pages: render of "home" failed: 
"/codebuild/output/src039271864/src/github.com/varunchandak/XXXXXXXXX/layouts/index.html:19:17": execute of 
template failed: template: index.html:19:17: executing "index.html" at <partial "gallerydeluxe/init.html" (dict "sourcePath" 
"images")>: error calling partial: partial "gallerydeluxe/init.html" timed out after 30s. This is most likely due to infinite 
recursion. If this is just a slow template, you can try to increase the 'timeout' config setting.

  • all my files are *.jpg
  • current photos count is 239 (more coming soon)

Add some kind of portfolio support (i.e. multiple galleries)

I like the way this theme allows me present lots of images in an effective way. But for it to become even more useful I think some concept of portfolios would be useful. It should be possible already today to build something like this on top of this theme, but I suspect many would want that out-of-the box.

I'm not sure how this would look, but I will outline a few ideas here, and if people have any comments/ideas, please shout.

Obvious option: Portfolio grid with thumbnails

The obvious setup with to have the Hugo leaf nodes be galleries (as in: what you currently see on the home page of this theme) and the branch nodes be a grid with title+thumbnail+description with the galleries in that section/taxonomy/term.

Clever option: All nodes as galleries

One idea would also to make every page a gallery, so e.g. /tags/blue will be a big gallery with all pages tagged with blue. This would require some clever way of navigating that isn't obvious ...

Orientation Change

Hello,

Sorry I've put on a wrong repo >.<

  1. Thank you for this theme.
    I really like it and looks like it very simple.
    just drop the new image(s) and ready...

  2. I want to ask if there is anyway to fix the layout on orientation change(s)

I mean, on portrait it shows 2 photo / row
Screenshot_20221001-140843

and when i change to landscape it shows 3 photo / row
Screenshot_20221001-140851

and when i change to portrait again it still showing 3 photo / row instead of 2

Screenshot_20221001-140901

  1. Exif
    (dont know if i have to ask in here or better to open a new issue)
    Is there a good way to show the exif ?

I've try on my repo https://github.com/andremoreno/a7gallery
i'm try to add the exif to json via init.html

Thank you ..

Scrolling on Android (?) mobile devices

Hello,

Appreciate the theme! Unfortunately scrolling doesn't seem to work on mobile devices (I've tried a few android/chromium combos) -- other functionality works, maybe there's a configuration seeing I'm missing?

Thanks in advance!

Kyle

Pinch to zoom option

Hello,

The theme is really nice! Would it be easy to add an option to pinch to zoom when an image is opened?
Specially on mobile devices this would be great.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.