aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_view.tpl
diff options
context:
space:
mode:
authorroot <root@bawker.net>2014-05-07 12:01:12 -0700
committerroot <root@bawker.net>2014-05-07 12:01:12 -0700
commit711719ce0ce340fbcda7559bf20582e85e4b1e3d (patch)
tree75729ee320e212856f8f334949754b4518336b86 /view/tpl/photo_view.tpl
parent92be2e108180176d4406aa83fc9cee03f0d117e9 (diff)
downloadvolse-hubzilla-711719ce0ce340fbcda7559bf20582e85e4b1e3d.tar.gz
volse-hubzilla-711719ce0ce340fbcda7559bf20582e85e4b1e3d.tar.bz2
volse-hubzilla-711719ce0ce340fbcda7559bf20582e85e4b1e3d.zip
Made some changes to img tags to enforce max-width everywhere, and to the page headers to allow user scaling.
Diffstat (limited to 'view/tpl/photo_view.tpl')
-rwxr-xr-xview/tpl/photo_view.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl
index 01f135522..099c5cd17 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -9,7 +9,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}}" onclick="$.colorbox({href: '{{$photo.href}}'}); return false;" ><img src="{{$photo.src}}" /></a></div>
+<div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}"; return false;" ><img style="max-width: 100%;" 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>