]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
corrected height/width on ad-hoc'd thumnails.
authorIan Denhardt <ian@zenhack.net>
Tue, 21 Dec 2010 03:07:03 +0000 (22:07 -0500)
committerIan Denhardt <ian@zenhack.net>
Tue, 21 Dec 2010 03:07:03 +0000 (22:07 -0500)
plugins/GNUsocialPhotos/GNUsocialPhotosPlugin.php

index 8e603c2fe08af45745a4be08a133ba8d14426131..eb25d908204fa32b8f831ed8b7525d22c0b423ec 100644 (file)
@@ -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();