]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/photo_album.tpl
Merge pull request #5138 from annando/optimize-workerqueue
[friendica.git] / view / templates / photo_album.tpl
index 770eaf14cf79b325a55a70585ada4186faaf6768..d3e7ca4874a8b3481d7a6e2c4acf523e122b03c1 100644 (file)
@@ -9,11 +9,13 @@
 {{/if}}
 
 {{foreach $photos as $photo}}
-<div class="photo-album-image-wrapper" id="photo-album-image-wrapper-{{$id}}">
-       <a href="{{$photo.link}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$id}}" title="{{$photo.title}}">
-               <img src="{{$photo.src}}" alt="{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}}" title="{{$photo.title}}" class="photo-album-photo lframe resize{{$twist}}" id="photo-album-photo-{{$id}}" />
+<div class="photo-album-image-wrapper" id="photo-album-image-wrapper-{{$photo.id}}">
+       <a href="{{$photo.link}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$photo.id}}" title="{{$photo.title}}">
+               <img src="{{$photo.src}}" alt="{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}}" title="{{$photo.title}}" class="photo-album-photo lframe resize{{$photo.twist}}" id="photo-album-photo-{{$photo.id}}" />
                <p class='caption'>{{$photo.desc}}</p>          
        </a>
 </div>
 <div class="photo-album-image-wrapper-end"></div>
 {{/foreach}}
+
+{{$paginate}}