fromgplus: Bigger images for notes.

Twitter: When a post with a media failes then it is posted as a post without media.
This commit is contained in:
Michael Vogel 2013-08-05 20:32:53 +02:00
parent 83f95acbbf
commit e226b74b7e
2 changed files with 9 additions and 7 deletions

View file

@ -239,9 +239,11 @@ function fromgplus_handleattachments($item, $displaytext) {
$post .= "\n\n[bookmark=".$attachment->url."]".fromgplus_html2bbcode($attachment->displayName)."[/bookmark]\n";
$images = fromgplus_cleanupgoogleproxy($attachment->fullImage, $attachment->image);
if ($images["preview"] != "")
$post .= "\n[url=".$images["full"]."][img]".$images["preview"]."[/img][/url]\n";
elseif ($images["full"] != "")
//if ($images["preview"] != "")
// $post .= "\n[url=".$images["full"]."][img]".$images["preview"]."[/img][/url]\n";
//elseif ($images["full"] != "")
// $post .= "\n[img]".$images["full"]."[/img]\n";
if ($images["full"] != "")
$post .= "\n[img]".$images["full"]."[/img]\n";
//$post .= "[quote]".trim(fromgplus_html2bbcode($attachment->content))."[/quote]";