From: Ian Denhardt Date: Tue, 21 Dec 2010 03:07:03 +0000 (-0500) Subject: corrected height/width on ad-hoc'd thumnails. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=148f6b6933cb04d43d73efc9a9cf903c3c963620;p=quix0rs-gnu-social.git corrected height/width on ad-hoc'd thumnails. --- diff --git a/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php b/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php index 8e603c2fe0..eb25d90820 100644 --- a/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php +++ b/plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php @@ -156,7 +156,8 @@ class GNUsocialPhotosPlugin extends Plugin $action->out->elementStart('div', 'entry-title'); $action->showAuthor(); $action->out->elementStart('a', array('href' => $photo->uri)); - $action->out->element('img', array('src' => $photo->thumb_uri)); + $action->out->element('img', array('src' => $photo->thumb_uri, + 'width' => 256, 'height' => 192)); $action->out->elementEnd('a'); $action->out->elementEnd('div'); $action->showNoticeInfo();