corrected height/width on ad-hoc'd thumnails.

This commit is contained in:
Ian Denhardt 2010-12-20 22:07:03 -05:00
parent 30815645fc
commit 148f6b6933
1 changed files with 2 additions and 1 deletions

View 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();