Skip to content

Commit

Permalink
refs #1604 : Modified: category preview now uses 55px thumbnail. new…
Browse files Browse the repository at this point in the history
… default image uploaded.
  • Loading branch information
inureyes committed Feb 25, 2012
1 parent 9f78a19 commit a998aa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface/i/category/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
foreach ($list['items'] as $item) {
$author = User::getName($item['userid']);
if($imageName = printMobileAttachmentExtract(printMobileEntryContent($blogid, $item['userid'], $item['id']))){
$imageSrc = printMobileImageResizer($blogid, $imageName, 28);
$imageSrc = printMobileImageResizer($blogid, $imageName, 55);
}else{
$imageSrc = $service['path'] . '/resources/style/iphone/image/noPostThumb.png';
}
$itemsView .= '<li class="post_item">'.CRLF;
$itemsView .= ' <span class="image"><img src="' . $imageSrc . '" width="28" height="28" /></span>'.CRLF;
$itemsView .= ' <span class="image"><img src="' . $imageSrc . '" width="55px" height="55px" /></span>'.CRLF;
$itemsView .= ' <a href="' . $blogURL . '/entry/' . $item['id'] . '" class="link">'.CRLF;
$itemsView .= ' <div class="post">'.CRLF;
$itemsView .= ' <span class="title">' . fireEvent('ViewListTitle', htmlspecialchars($item['title'])) . '</span>'.CRLF;
Expand Down
Binary file modified resources/style/iphone/image/noPostThumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a998aa8

Please sign in to comment.