mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 01:43:42 +00:00
Improve comment
This commit is contained in:
parent
97f5910de7
commit
286aa4770f
1 changed files with 2 additions and 1 deletions
|
@ -1474,7 +1474,8 @@ function twitter_store_attachments(int $uriid, $post)
|
||||||
case 'photo':
|
case 'photo':
|
||||||
$attachment = ['uri-id' => $uriid, 'type' => Post\Media::IMAGE];
|
$attachment = ['uri-id' => $uriid, 'type' => Post\Media::IMAGE];
|
||||||
|
|
||||||
// Later store the large picture when we don't add them to the body anymore
|
/// @todo In the future store the large picture.
|
||||||
|
// This can be done when we don't embed the pictures in the body anymore.
|
||||||
//$attachment['url'] = $medium->media_url_https . '?name=large';
|
//$attachment['url'] = $medium->media_url_https . '?name=large';
|
||||||
//$attachment['width'] = $medium->sizes->large->w;
|
//$attachment['width'] = $medium->sizes->large->w;
|
||||||
//$attachment['height'] = $medium->sizes->large->h;
|
//$attachment['height'] = $medium->sizes->large->h;
|
||||||
|
|
Loading…
Reference in a new issue