{% for item in module.media_card %}{% inline_text field="heading" value="" %}{% inline_text field="desc" value="" %}{% for item2 in item.link_menu %}{% set href = item2.link.url.href %}{% if item2.link.url.type is equalto "EMAIL_ADDRESS" %}{% set href = "mailto:"+href %}{% endif %}<a href=""{% if item2.link.open_in_new_tab %}target="_blank"{% endif %}{% if item2.link.rel %}rel=""{% endif %}>Link text </a>{% inline_text field="link_txt" value="" %}{% endfor %}{% if item.img.src %}{% set sizeAttrs = 'width="" height=""' %}{% if item.img.size_type == 'auto' %}{% set sizeAttrs = 'style="max-width: 100%; height: auto;"' %}{% elif item.img.size_type == 'auto_custom_max' %}{% set sizeAttrs = 'width="" height="" style="max-width: 100%; height: auto;"' %}{% endif %}{% set loadingAttr = item.img.loading!= 'disabled' ? 'loading=""':'' %}<img src="" alt="">{% endif %}{% endfor %}