Permalink
Browse files

lightbox uses alt and crops properly now

  • Loading branch information...
1 parent 986edfe commit e42b93b7da681bacc4bf705d0196a547389111d6 Daniele Procida committed Feb 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 arkestra_image_plugin/templates/arkestra_image_plugin/lightbox.html
@@ -30,4 +30,4 @@
{% endaddtoblock %}
-<div class="fancybox" style="width: {{ imageset.container_width }}px;">{% for item in imageset.items %}<a class='{{ class|default:"fancy" }}' rel='{{ rel|default:"gallery_1" }}' href="{{ item.large_url}}" title='{{ item.caption|default:"" }}'><img class="fancybox-icon" alt="" src="{% thumbnail item.image imageset.size crop subject_location=image.subject_location %}" /></a>{% endfor %}</div>
+<div class="fancybox" style="width: {{ imageset.container_width }}px;">{% for item in imageset.items %}<a class='{{ class|default:"fancy" }}' rel='{{ rel|default:"gallery_1" }}' href="{{ item.large_url}}" title='{{ item.caption|default:"" }}'><img class="fancybox-icon" alt="{{ item.image.name }}" src="{% thumbnail item.image.file imageset.size crop subject_location=item.image.subject_location %}" /></a>{% endfor %}</div>

0 comments on commit e42b93b

Please sign in to comment.