diff options
author | friendica <info@friendica.com> | 2013-12-25 01:05:46 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-25 01:05:46 -0800 |
commit | b1ade138ff7fc47f2b70fb3fbf130127140b5271 (patch) | |
tree | 92e40bec5aa450411225f6a16ded07d57dbe2a6e /view/tpl | |
parent | 71dde7c6875c85e4bfbe6e2eadecaf0bbc9fd20c (diff) | |
download | volse-hubzilla-b1ade138ff7fc47f2b70fb3fbf130127140b5271.tar.gz volse-hubzilla-b1ade138ff7fc47f2b70fb3fbf130127140b5271.tar.bz2 volse-hubzilla-b1ade138ff7fc47f2b70fb3fbf130127140b5271.zip |
use colorbox for single photo viewing (replacing prettyPhoto, which may have license incompatibilities). Also set maximum size of a directory popup and let it scroll after that in case somebody set their profile keywords to the content of Webster's dictionary.
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/photo_view.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index cdaae67e4..c3b697776 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -11,7 +11,7 @@ </div> {{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}"><i class="icon-backward photo-icons"></i></div>{{/if}} -<div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}" rel="prettyPhoto"><img src="{{$photo.src}}" /></a></div> +<div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}" onclick="$.colorbox({href: '{{$photo.href}}'}); return false;" ><img src="{{$photo.src}}" /></a></div> {{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}"><i class="icon-forward photo-icons"></i></a></div>{{/if}} <div id="photo-photo-end"></div> <div id="photo-caption">{{$desc}}</div> |