From 88048bc18e7f449a28222c9cd681f24074f77e73 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 25 Jul 2012 23:44:57 +0200 Subject: [PATCH] privacy_image_cache: removed experimentual resize of pictures --- privacy_image_cache/privacy_image_cache.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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']); -- 2.39.5