diff options
-rw-r--r-- | view/js/mod_directory.js | 3 | ||||
-rwxr-xr-x | view/tpl/direntry_large.tpl | 2 |
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> |