Lots of stuff
- Imagestore gallery - remember me fixed - youtube filter - password change option
This commit is contained in:
23
imagestore/templates/cms/plugins/imagestore_album.html
Normal file
23
imagestore/templates/cms/plugins/imagestore_album.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{% 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>
|
||||
@@ -0,0 +1 @@
|
||||
{% include 'cms/plugins/imagestore_album_carousel_base.html' %}
|
||||
@@ -0,0 +1,28 @@
|
||||
{% load thumbnail %}
|
||||
<div id='examples'>
|
||||
<ul id='carusel{{ carousel.id }}' class="{{ carousel.skin }}" >
|
||||
{% for image in images %}
|
||||
{% thumbnail image.image carousel.size crop="center" as im %}
|
||||
{% thumbnail image.image carousel.full_size as full %}
|
||||
<li><a rel='gallery{{ carousel.id }}[pp_gal]' href="{{ full.url }}">
|
||||
<img class="preview" {% if image.title %} alt="{{ image.title }}" {% endif %} src="{{ im.url }}">
|
||||
</a></li>
|
||||
{% endthumbnail %}
|
||||
{% endthumbnail %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$('#carusel{{ carousel.id }}').jcarousel();
|
||||
$("a[rel^='gallery{{ carousel.id }}']").prettyPhoto({
|
||||
allow_resize: true,
|
||||
changepicturecallback: function() {
|
||||
$(".pp_overlay").css("height", $(document).height());
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
|
||||
</script>
|
||||
</div>
|
||||
Reference in New Issue
Block a user