Created
February 11, 2014 23:22
-
-
Save minrk/8946516 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
{%- extends 'full.tpl' -%} | |
{% block data_png %} | |
<img src="data:image/png;base64,{{ output.png }}" | |
{%- if 'width' in output.metadata.get('png', {}) %} | |
width={{output.metadata['png']['width']}} | |
{%- endif %} | |
{%- if 'height' in output.metadata.get('png', {}) %} | |
height={{output.metadata['png']['height']}} | |
{%- endif %} | |
> | |
{%- endblock data_png %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment