Port to new django version - not yet fully working

- location field makes problems
This commit is contained in:
Martin Bauer
2019-01-05 11:27:15 +01:00
parent 72a9642a8e
commit 663185fd40
168 changed files with 797 additions and 5967 deletions

View File

@@ -1,23 +0,0 @@
{% load thumbnail %}
<div id='gallery'>
{% for image in album.images.all %}
{% thumbnail image.image "120x120" crop="center" as im %}
{% thumbnail image.image "600x600" as full %}
<a rel='gallery[pp_gal]' href="{{ full.url }}">
<img class="preview" {% if image.title %} alt="{{ image.title }}" {% endif %} src="{{ im.url }}">
</a>
{% endthumbnail %}
{% endthumbnail %}
{% endfor %}
<script type="text/javascript" charset="utf-8">
$(function() {
$("a[rel^='gallery']").prettyPhoto({
allow_resize: true,
changepicturecallback: function() {
$(".pp_overlay").css("height", $(document).height());
}
});
});
</script>
</div>