<p>
    <a href="{% if url %}{{ url | safe }}{% else %}{{ path | split(pat="/") | last }}{% endif %}" title="View full-size image">
        {% set image = resize_image(path=path, width=750, height=1500, op="fit") %}
        <img src="{{ image.url }}" />
    </a>
</p>
