Media handling - correct branch #1105

Merged
annando merged 6 commits from media into develop 2021-04-27 20:59:56 +02:00
Showing only changes of commit 286aa4770f - Show all commits

View file

@ -1474,7 +1474,8 @@ function twitter_store_attachments(int $uriid, $post)
case 'photo':
$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['width'] = $medium->sizes->large->w;
//$attachment['height'] = $medium->sizes->large->h;