<img src="{{ src }}" {% if width > 0 %}width="{{ width }}"{% endif %} {% if height > 0 %}height="{{ height }}"{% endif %} title="{{ title }}" alt="{{ title }}">

<img data-media-id="{{ media.id }}" src="{{ src }}" {% if width > 0 %}width="{{ width }}"{% endif %} {% if height > 0 %}height="{{ height }}"{% endif %} title="{{ title }}" alt="{{ title }}">

Add data id to template
Add data id to template
