try this one.

This commit is contained in:
Kameron Kenny 2024-07-01 20:19:12 -04:00
parent 4ebbdbd128
commit d34abd4877
No known key found for this signature in database
GPG Key ID: E5006629839D2276
1 changed files with 1 additions and 2 deletions

View File

@ -36,8 +36,7 @@
width="{{ image[1] | divided_by: site.gallery.thumbnail_size.retina }}" width="{{ image[1] | divided_by: site.gallery.thumbnail_size.retina }}"
height="{{ site.gallery.thumbnail_size.y | divided_by: site.gallery.thumbnail_size.retina }}" /> height="{{ site.gallery.thumbnail_size.y | divided_by: site.gallery.thumbnail_size.retina }}" />
</a> </a>
{% assign image_root = "/usr/local/jekyll/sites/photos.kameronkenny.com/_site/photos/san_francisco/" } {% assign image_path = "{page.path.split('/index.html')[0]}/#{image[0]}" }
{% assign image_path = image_root.concat(image[0]) %}
{% capture has_exif %}{{ image_path | exif: "exif?" }}{% endcapture %} {% capture has_exif %}{{ image_path | exif: "exif?" }}{% endcapture %}
{% if has_exif %} {% if has_exif %}
Camera: {{ image_path | exif: 'model' }} Camera: {{ image_path | exif: 'model' }}