aerobless / jekyll-photo-gallery

Jekyll plugin to generate nice photo galleries easily.
112 stars 27 forks source link

EXIF format error #3

Open noeems opened 6 years ago

noeems commented 6 years ago

Hey,

Trying to configure your gallery on my Jekyll site and ran into this pickle:

"Liquid Exception: Invalid Date: '"\n ERROR, EXIF-Tag RB\n "' is not a valid datetime. in photography/Descent-into-the-Grand-Canyon-III/index.html
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    Invalid Date: '"\n ERROR, EXIF-Tag RB\n "' is not a valid datetime."

Ping project collaborator @oncletom

aerobless commented 6 years ago

hey @noeems see https://github.com/aerobless/jekyll-photo-gallery/issues/1 This seems to be the same issue. Have you pulled the latest version?

molecule commented 6 years ago

I have pulled the latest version and I am seeing the same error.

molecule commented 6 years ago

I think I found my issue: in my photos.yml file I was providing the entire path to my images, i.e., including ".jpg":

title: Beds at the Abiskojaure mountain hut. img: /src/img/sweden/abiskojaure-hut-beds.jpg country: Sweden album: Sweden2018

But someone (I'm guessing the exifr gem) automatically adds that back in, so when it searched for my photos, it was searching for the (nonexistent):

src/img/sweden/abiskojaure-sunny-centered.jpg.jpg

When I removed the file extensions from my .yml file, it started working:

title: Beds at the Abiskojaure mountain hut. img: /src/img/sweden/abiskojaure-hut-beds country: Sweden album: Sweden2018

Thought I'd mention it here in case others have the same problem.

FrdVnW commented 6 years ago

Same issue here, not with the first picture, but with another one. Based on this comment I checked the extension : .JPG, in uppercase (from Canon Camera). Issue fixed by changing the extension of the file in .jpg. As @molecule said, no .jpg in the yaml.