This commit is contained in:
Kameron Kenny 2024-07-01 17:15:19 -04:00
parent e6e10184eb
commit 172910a2cf
No known key found for this signature in database
GPG Key ID: E5006629839D2276
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,7 @@
width="{{ image[1] | divided_by: site.gallery.thumbnail_size.retina }}"
height="{{ site.gallery.thumbnail_size.y | divided_by: site.gallery.thumbnail_size.retina }}" />
</a>
{% assign image_path = image[0] %}
{% assign image_path = "/usr/local/jekyll/sites/photos.kameronkenny.com/_site/photos/san_francisco/" + image[0] %}
{% capture has_exif %}{{ image_path | exif: "exif?" }}{% endcapture %}
{% if has_exif %}
Camera: {{ image_path | exif: 'model' }}
@ -45,3 +45,4 @@
</div>
{% include footer.html %}