
I have now, however, another issue, which is perhaps more about the intended use: OK, so I managed to build the site – removing any NEF, DNG and PSD files fixed the errors. I did a couple of controlled tests, and indeed any of the psd/nef/dng files caused such an error, so I’ve removed all of these now and am re-running a build (which will take quite some time)… I’ll report back if this indeed removes the issue. So it looks liek some psd/nef/dng files in the file tree were causing the error. However, I tried to build a smaller gallery with only some of these failing files, and hugo then builds the directory correct – so the error message is apparently connected to some other file that it thinks should be an image file.ĭuring the rendering process, it also occasionally spits out message like this: So that was an easy fix running a small python script to convert existing meta data or just using default filenames to generate the index.md files.Īs for the EXIF error, I placed one example of a file that fails here: So by making sure all directories have proper index.md files, paths/slugs are now all lowercased. I haven’t set the disablePathToLower, but it seems like hugo copies the files over to a non-lowercased directory if there aren’t any index.md files. Rebuilding is “fine” – it takes around 1 hour or so… Thanks for the reply! Well, hugo isn’t exactly an eagle for larger galleries… I’m running this on a pretty old machine (an Atom D525 at 1.8 GHz), so it takes more than 24 hours to build the gallery at the first run. Error: error building site: render: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:12:27: executing "main" at : error calling Exif: this method is only available for image resources``` If I run exiftool on the file, it does produce a correct dump of the exif data. I do get a few warnings/messages prior to this (one says “WARN Unable to decode Exif metadata from image: xxx” and the other message is just “”). even if the access to exif is in a with statement, it seems to cause a hard error in line 12 in single.html, but it shouldn’t be trying to use exif on any non-image resources. I get the error message below when running hugo after it’s been through all files (a lengthy process). For some album I have created an index.md file with a title (but not a slug) and for others that had no title in JAlbum there is no index.md file – could that be the reason for some being lower cased and others not? The perhaps an empty index.md file would help? It seems like some albums uri/slugs are converted to lower case, but not all.
#JALBUM APP SOFTWARE#
The gallery has been converted from some older software (JAlbum) to a hugo based one, which may be part of the problem. Thanks for sharing your work much appreciated! I’m trying to create a gallery with currently some 20.000 images or around 60 GB of data in a nested hierarchy, and have run into a couple of challenges. Nico Kaiser - Photos Nico Kaiser - PhotosĬapturing moments, music, people and events The site currently has well over 5.000 photos in over 200 albums, updating and publishing only takes a few seconds, and the site is served via an nginx Docker container. I came up with a static Hugo site with a custom Gallery theme built with Bootstrap 5. Very simple appearance, mobile-friendly, responsive.Native browser lazy-loading, no “fancy” extra libraries.

No pagination, no “endless scrolling” (albums are not that large).No dynamic or interactive features like comments, ratings, etc.

No different layouts, types, sections, etc., everything is an album (although there need to be “legal” pages).Lightbox displays photo captions from EXIF/IPTC.Clicking on thumbnails opens a lightbox (PhotoSwipe).Photos in albums are sorted oldest first (date from EXIF).Albums are sorted newest first (date in the frontmatter).Albums have a title and a description (which is also in their OpenGraph metadata).Albums display thumbnails all of their photos.Flickr and SmugMug came to mind, also fiddling around with Google Photos links, self-hosting Piwigo and Lychee, but none of these made me really happy.

Of course the photos are posted on social media, but I was looking for a place to also publish the photos on a platform that is more suitable for browsing.
#JALBUM APP FULL#
Currently the “International Accordion Festival” takes place, which is a full month of concerts and workshops with accordion-related artists and groups, and it is my honor to accompany the festival photographically.

For some years I have been doing photography assignments, both private and commercial, and especially on Jazz, World Music and Classical concerts.
