{% load i18n %}
{% load staticfiles %}

{% get_current_language as lang %}

{% with path_to_image|add:lang|add:extension as image %}
  {% static image as img %}
  <div class="padding-top">
    <a href="{{ img }}">
      <img class="img-responsive img-thumbnail" src="{{ img }}" alt="{{ alt_text }}" {% if width %}width="{{ width }}"{% endif %}>
    </a>
  </div>
{% endwith %}
{% load i18n %}
{% load staticfiles %}

{% get_current_language as lang %}

{% with path_to_image|add:lang|add:extension as image %}
  {% static image as img %}
  <div class="padding-top">
    <a href="{{ img }}">
      <img class="img-responsive {% if not nothumbnail %}img-thumbnail{% endif %}" src="{{ img }}" alt="{{ alt_text }}" {% if width %}width="{{ width }}"{% endif %}>
    </a>
  </div>
{% endwith %}
Add option to toggle thumbnail
Add option to toggle thumbnail
