Created
July 28, 2014 13:10
-
-
Save jmcclell/c700d086cd4a87c88775 to your computer and use it in GitHub Desktop.
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
{% for image in images %} | |
{% image image.input | |
filter='jpegoptim' output=image.output %} | |
<img src="{{ asset_url }}" alt={{ image.alt }}"/> | |
{% endimage %} | |
// image.input ex: @AcmeFooBundle/Resources/public/images/example.jpg | |
// iamge.output ex: /images/example.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment