X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FParseUrl.php;h=2183a9c1e05698cdacd8c1bb42905121547af2e0;hb=79ed1568b6c1aaf2aa040d5d279399ee1d78b3b1;hp=c5c23d7d9c7fc5780eb101f6a86dba8f33d184fa;hpb=54827e7feda8253b0f1055c81f6fd76b7c8ea3f5;p=friendica.git diff --git a/src/ParseUrl.php b/src/ParseUrl.php index c5c23d7d9c..2183a9c1e0 100644 --- a/src/ParseUrl.php +++ b/src/ParseUrl.php @@ -353,7 +353,7 @@ class ParseUrl } $src = self::completeUrl($attr["src"], $url); - $photodata = get_photo_info($src); + $photodata = Photo::getInfoFromURL($src); if (($photodata) && ($photodata[0] > 150) && ($photodata[1] > 150)) { if ($photodata[0] > 300) { @@ -374,7 +374,7 @@ class ParseUrl unset($siteinfo["image"]); - $photodata = get_photo_info($src); + $photodata = Photo::getInfoFromURL($src); if (($photodata) && ($photodata[0] > 10) && ($photodata[1] > 10)) { $siteinfo["images"][] = array("src" => $src,