{% for item in module.last_image_text %}

	{% set href = item.link_field_1.url.href %}
	{% if item.link_field_1.url.type is equalto "EMAIL_ADDRESS" %}
	  {% set href = "mailto:" + href %}
	{% elif item.link_field_1.url.type is equalto "PHONE_NUMBER" %}
	  {% set href = "tel:" + href %}
	{% endif %}
	<a
	  {% if item.link_field_1.url.type is equalto "CALL_TO_ACTION"  %}
	    href="" {# The href here is not escaped as it is not editable and functions as a JavaScript call to the associated CTA #}
	  {% else %}
	    href=""
	  {% endif %}
	  {% if item.link_field_1.open_in_new_tab %}
	    target="_blank"
	  {% endif %}
	  {% if item.link_field_1.rel %}
	    rel=""
	  {% endif %}
	  >
	  	{% if item.image_field.src %}
		{% set sizeAttrs = 'width="" height=""' %}
		{% if item.image_field.size_type == 'auto' %}
			{% set sizeAttrs = 'width="" height="" style="max-width: 100%; height: auto;"' %}
		{% elif item.image_field.size_type == 'auto_custom_max' %}
			{% set sizeAttrs = 'width="" height="" style="max-width: 100%; height: auto;"' %}
		{% endif %}
		 {% set loadingAttr = item.image_field.loading != 'disabled' ? 'loading=""' : '' %}
		<img src="" alt=""  >
	{% endif %}
	
	</a>
{% endfor %}