From 148f6b6933cb04d43d73efc9a9cf903c3c963620 Mon Sep 17 00:00:00 2001 From: Ian Denhardt Date: Mon, 20 Dec 2010 22:07:03 -0500 Subject: [PATCH] corrected height/width on ad-hoc'd thumnails. --- plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.39.2