Improve comment
parent
97f5910de7
commit
286aa4770f
|
@ -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 New Issue