From: Michael Vogel Date: Wed, 25 Jul 2012 21:44:57 +0000 (+0200) Subject: privacy_image_cache: removed experimentual resize of pictures X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=88048bc18e7f449a28222c9cd681f24074f77e73;p=friendica-addons.git privacy_image_cache: removed experimentual resize of pictures --- diff --git a/privacy_image_cache/privacy_image_cache.php b/privacy_image_cache/privacy_image_cache.php index e74054e9..963b8f77 100644 --- a/privacy_image_cache/privacy_image_cache.php +++ b/privacy_image_cache/privacy_image_cache.php @@ -80,13 +80,13 @@ function privacy_image_cache_init() { if ($mime == "") $mime = "image/jpeg"; // Test - if ($mime == "image/jpeg") { - $img = new Photo($img_str); - if($img->is_valid()) { - $img->scaleImage(1000); - $img_str = $img->imageString(); - } - } + //if ($mime == "image/jpeg") { + // $img = new Photo($img_str); + // if($img->is_valid()) { + // $img->scaleImage(1000); + // $img_str = $img->imageString(); + // } + //} } else { // It shouldn't happen but it does - spaces in URL $_REQUEST['url'] = str_replace(" ", "+", $_REQUEST['url']);