Last active
December 24, 2015 22:59
-
-
Save anthubbard/6876867 to your computer and use it in GitHub Desktop.
Statamic Lightbox dynamic gallery using image transform tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ entries:listing from="gallery" limit="10" }} | |
<a class="thumbnail" href="{{ transform src="{{ img }}" width="900" height="600" action="resize" }}"> | |
<img src="{{ transform src="{{ img }}" width="140" height="140" action="smart" }}" /> | |
</a> | |
{{ /entries:listing }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment