From d33c56574590db597ed3340c8c23311125693f21 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 26 Jul 2012 00:25:43 +0200 Subject: [PATCH] privacy_image_cache: removed experimental resize --- privacy_image_cache/privacy_image_cache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/privacy_image_cache/privacy_image_cache.php b/privacy_image_cache/privacy_image_cache.php index 963b8f77..2309ff22 100644 --- a/privacy_image_cache/privacy_image_cache.php +++ b/privacy_image_cache/privacy_image_cache.php @@ -48,7 +48,7 @@ function privacy_image_cache_init() { $cache = get_config('system','itemcache'); if (($cache != '') and is_dir($cache)) { - $cachefile = $cache."/".hash("md5", $urlhash); + $cachefile = $cache."/".hash("md5", $_REQUEST['url']); if (file_exists($cachefile)) { $img_str = file_get_contents($cachefile); @@ -129,7 +129,7 @@ function privacy_image_cache_init() { $img = new Photo($img_str); if($img->is_valid()) { $img->store(0, 0, $urlhash, $_REQUEST['url'], '', 100); - $img->scaleImage(1000); // Test + //$img->scaleImage(1000); // Test $img_str = $img->imageString(); } $mime = "image/jpeg";