Skip to content
Snippets Groups Projects
Unverified Commit 430e9382 authored by Michael Lee's avatar Michael Lee Committed by GitHub
Browse files

Merge pull request #617 from ASCWebServices/canini-4

temporary fix to image gallery thumbnail bug
parents 0c25efbe f96f8088
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@
<a href="{{ content.field_media_image[0]['#url'] }}" data-toggle="lightbox" data-title="{{ content.field_image_title[0] }}" data-footer="{{ content.field_image_caption[0] }}" data-gallery="Gallery">
<img src="/sites/default/files/styles/thumbnail_for_preview/public/{{ content.field_media_image[0]['#url']|render|split('/', 7)|last }}" alt="{{ content.field_media_image[0]['#item'].alt }}" />
<img src="{{ content.field_media_image[0]['#url'] }}" alt="{{ content.field_media_image[0]['#item'].alt }}" />
</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment