As said in #2 including PrettyPhoto is not enough, it also necessary to change link urls. I hacked image_list.html and lightbox script working. But I think better way is to change image-href.html template. Could you please explain what rows need to be changed:
{% if album %}
{% url imagestore:image-album album_id=album.id pk=image.id %}
{% else %}
{% if tag %}
{% url imagestore:image-tag tag=tag pk=image.id %}
{% else %}
{{ image.get_absolute_url }}
{% endif %}
{% endif %}
Especially, I don't understand what is the tag variable for?
As said in #2 including PrettyPhoto is not enough, it also necessary to change link urls. I hacked image_list.html and lightbox script working. But I think better way is to change image-href.html template. Could you please explain what rows need to be changed:
Especially, I don't understand what is the
tag
variable for?