Improve comment

pull/1101/head
Michael 2021-04-26 21:11:33 +00:00
parent 97f5910de7
commit 286aa4770f
1 changed files with 2 additions and 1 deletions

View File

@ -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;