aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-23 20:04:00 -0800
committerfriendica <info@friendica.com>2013-12-23 20:04:00 -0800
commit1c5fe5a1ac252058c81d44409841441711f2c6b1 (patch)
tree9227f111e5cad043194f90469f8c243a8739d020
parent4e3a2c5f28690158d9cf3c282f9d14736b5b0550 (diff)
downloadvolse-hubzilla-1c5fe5a1ac252058c81d44409841441711f2c6b1.tar.gz
volse-hubzilla-1c5fe5a1ac252058c81d44409841441711f2c6b1.tar.bz2
volse-hubzilla-1c5fe5a1ac252058c81d44409841441711f2c6b1.zip
set the height so colorbox can set its size correctly
-rw-r--r--view/js/mod_directory.js3
-rwxr-xr-xview/tpl/direntry_large.tpl2
2 files changed, 2 insertions, 3 deletions
diff --git a/view/js/mod_directory.js b/view/js/mod_directory.js
index 29caa8d55..96a38a109 100644
--- a/view/js/mod_directory.js
+++ b/view/js/mod_directory.js
@@ -1,8 +1,7 @@
function dirdetails(hash) {
$.get('dirprofile' + '?f=&hash=' + hash, function( data ) {
- $.colorbox({ maxWidth: '75%', maxHeight: '75%', html: data });
- $.colorbox.resize();
+ $.colorbox({ html: data });
});
}
diff --git a/view/tpl/direntry_large.tpl b/view/tpl/direntry_large.tpl
index 605abb9b3..58c9d5404 100755
--- a/view/tpl/direntry_large.tpl
+++ b/view/tpl/direntry_large.tpl
@@ -3,7 +3,7 @@
<div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$id}}" >
<div class="contact-photo" id="directory-photo-{{$id}}" >
-<a href="{{$profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$id}}" ><img class="directory-photo-img" src="{{$photo}}" alt="{{$alttext}}" title="{{$alttext}}" /></a>
+<a href="{{$profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$id}}" ><img class="directory-photo-img" height="175" width="175" src="{{$photo}}" alt="{{$alttext}}" title="{{$alttext}}" /></a>
</div>
</div>