Skip to content

Commit

Permalink
refs #1604 : Modified: image resizer default value increased to 55px.
Browse files Browse the repository at this point in the history
  • Loading branch information
inureyes committed Feb 25, 2012
1 parent 634ef27 commit 649216b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions interface/i/archive/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,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="' . $context->getProperty('uri.blog') . '/entry/' . $item['id'] . '" class="link">'.CRLF;
$itemsView .= ' <div class="post">'.CRLF;
$itemsView .= ' <span class="title">' . fireEvent('ViewListTitle', htmlspecialchars($item['title'])) . '</span>'.CRLF;
Expand Down
4 changes: 2 additions & 2 deletions interface/i/entry/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
foreach ($list['items'] as $item) {
$author = User::getName($item['userid']);
if($imageName = printMobileAttachmentExtract($item['content'])){
$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="36px" height="36px" /></span>'.CRLF;
$itemsView .= ' <span class="image"><img src="' . $imageSrc . '" width="55px" height="55px" /></span>'.CRLF;
$itemsView .= ' <a href="' . $context->getProperty('uri.blog') . '/entry/' . $item['id'] . '" class="link">'.CRLF;
$itemsView .= ' <div class="post">'.CRLF;
$itemsView .= ' <span class="title">' . fireEvent('ViewListTitle', htmlspecialchars($item['title'])) . '</span>'.CRLF;
Expand Down
4 changes: 2 additions & 2 deletions interface/i/tag/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,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="' . $context->getProperty('uri.blog') . '/entry/' . $item['id'] . '" class="link">'.CRLF;
$itemsView .= ' <div class="post">'.CRLF;
$itemsView .= ' <span class="title">' . fireEvent('ViewListTitle', htmlspecialchars($item['title'])) . '</span>'.CRLF;
Expand Down
6 changes: 3 additions & 3 deletions resources/style/iphone/iphone.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ li.post_item .image {
float:left;
}

li.post_item .image img{
border:3px solid #ccc;
/*li.post_item .image img{
border:1px solid #ccc;
margin:6px;
}

*/
li.post_item .post .title {
display:block;
}
Expand Down

0 comments on commit 649216b

Please sign in to comment.