X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FImages.php;h=8a810510f0489916363b98e1d397e430b602a9e0;hb=a497bd3a3daf7e47e98fee0af9384544d8f691b8;hp=dd4848606bb6c0c9a76ab18c7bb7203eb5466561;hpb=fa00a4ee32a693459c0d000576afada7523e79d1;p=friendica.git diff --git a/src/Util/Images.php b/src/Util/Images.php index dd4848606b..8a810510f0 100644 --- a/src/Util/Images.php +++ b/src/Util/Images.php @@ -189,10 +189,11 @@ class Images if (!empty($photo)) { $img_str = Photo::getImageDataForPhoto($photo); } + // @todo Possibly add a check for locally stored files } if (empty($img_str)) { - $img_str = DI::httpRequest()->fetch($url, 4); + $img_str = DI::httpClient()->fetch($url, 4); } if (!$img_str) {