aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_top.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/photo_top.tpl')
-rwxr-xr-xview/tpl/photo_top.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/tpl/photo_top.tpl b/view/tpl/photo_top.tpl
new file mode 100755
index 000000000..a86aa7f80
--- /dev/null
+++ b/view/tpl/photo_top.tpl
@@ -0,0 +1,4 @@
+<a href="{{$photo.link}}" id="photo-top-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}}" id="photo-top-photo-{{$photo.id}}" />
+</a>
+