mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 08:58:49 +00:00
Bluesky/Twitter: New parameter added for rhe picture creation
This commit is contained in:
parent
52ea77eabb
commit
f678468d42
2 changed files with 2 additions and 2 deletions
|
@ -896,7 +896,7 @@ function bluesky_upload_blob(int $uid, array $photo): ?stdClass
|
|||
$retrial = Worker::getRetrial();
|
||||
$content = Photo::getImageForPhoto($photo);
|
||||
|
||||
$picture = new Image($content, $photo['type']);
|
||||
$picture = new Image($content, $photo['type'], $photo['filename']);
|
||||
$height = $picture->getHeight();
|
||||
$width = $picture->getWidth();
|
||||
$size = strlen($content);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue