mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
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:
parent
83f95acbbf
commit
e226b74b7e
2 changed files with 9 additions and 7 deletions
|
@ -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]";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue