Skip to content

Commit

Permalink
Link image to external collection website
Browse files Browse the repository at this point in the history
  • Loading branch information
juliastone0729 committed Oct 9, 2023
1 parent 399e8f7 commit b651456
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions _includes/item/image-gallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
Ensure dependencies are added by including `gallery: true` in the layout front matter calling this include.

{%- endcomment -%}
<a class="spotlight gallery-img" data-download="true" title="{{ page.title | escape }}" href="{{ page.object_location | relative_url }}">
<a class="spotlight gallery-img" data-download="true" title="{{ page.title | escape }}" href="{{ page.object_link }}" target="_blank" rel="noopener">
<img src="{{ page.image_small | relative_url }}" alt="{{ page.image_alt_text | default: page.description | default: page.title | escape }}" class="img-fluid">
<div><small class="text-dark">Click to view full screen</small></div>
</a>
</a>

0 comments on commit b651456

Please sign in to comment.