# HG changeset patch # User neko259 # Date 2013-06-09 14:19:39 # Node ID 06eb531eb93480d8d48e353053a323024e9cbcda # Parent 095d634d6dabed7ae689eea47566a6506f4551df Added 'alt' attribute to the images to pass the validation. This fixes #2 diff --git a/templates/posting_general.html b/templates/posting_general.html --- a/templates/posting_general.html +++ b/templates/posting_general.html @@ -30,8 +30,9 @@ {% if thread.image %}
+ href="{{ thread.image.url }}">{% trans 'Post image' %}
{% endif %} @@ -73,8 +74,9 @@ {% if post.image %}
+ href="{{ post.image.url }}">{% trans 'Post image' %}
{% endif %} diff --git a/templates/thread.html b/templates/thread.html --- a/templates/thread.html +++ b/templates/thread.html @@ -23,7 +23,8 @@ + src="{{ post.image.url_200x150 }}" + alt="{% trans 'Post image' %}" /> {% endif %}