Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 53032e3be8
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (21 sloc) 1.066 kB
{% load thumbnail adminmedia sekizai_tags %}
{% addtoblock "js" %}<script type="text/javascript" src="{% admin_media_prefix %}js/jquery.min.js"></script>{% endaddtoblock %}
{% addtoblock "js" %}<script type="text/javascript" src="{{ STATIC_URL }}filer_gallery/orbit/orbit-1.2.3.js"></script>{% endaddtoblock %}
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}filer_gallery/orbit/orbit-1.2.3.css" media="all" />{% endaddtoblock %}
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}cmsplugin_filer_gallery/cmsplugin_filer_gallery.css" media="all" />{% endaddtoblock %}
{% addtoblock "js" %}
<script type="text/javascript">
//<![CDATA[
(function ($) {
$(document).ready(function () {
$('#filer-gallery-{{ instance.pk }}').orbit();
});
})()
//]]>
</script>
{% endaddtoblock %}
<div id="filer-gallery-{{ instance.pk }}">
{% for image in instance.gallery.galleryimage_set.all %}
<img src="{% thumbnail image.image 300x200 %}" alt="{{ image.title }}" />
{% endfor %}
</div>
Jump to Line
Something went wrong with that request. Please try again.