{% load wagtailcore_tags wagtailimages_tags %} {% image self.image width-300 as w300_image %} {% image self.image width-600 as w600_image %} {% image self.image width-900 as w900_image %} {% image self.image max-1000x1000 as self_image %} {% if self.url %} {% endif %} {% if self.caption %}
{% endif %} {% firstof self.image.alt_text self.image.title %} {% if self.caption %}
{% include_block self.caption %}
{% endif %} {% if self.url %}
{% endif %}