aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2012-03-01 16:26:55 +0000
committerpatdenice <patdenice@piwigo.org>2012-03-01 16:26:55 +0000
commit54ce78ca766028a5f7525297b50d38a39372818b (patch)
treef4dcfe901da5220c74a1da8b025f3fa5514d7b65 /include
parentd53c5e454a43d4b7e3cfb64f4b7d969c3819ca1c (diff)
Multisize
Bug fixed if $conf['derivative_url_style'] != 0 Create a pwg_ajax_thumbnails_loader function git-svn-id: http://piwigo.org/svn/trunk@13452 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/derivative.inc.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/derivative.inc.php b/include/derivative.inc.php
index 2fc536475..6fbde63a2 100644
--- a/include/derivative.inc.php
+++ b/include/derivative.inc.php
@@ -99,7 +99,7 @@ final class DerivativeImage
public $src_image;
private $params;
- private $rel_path, $rel_url, $is_cached;
+ private $rel_path, $rel_url, $is_cached=true;
function __construct($type, $src_image)
{
@@ -160,7 +160,6 @@ final class DerivativeImage
// todo - what if we have a watermark maybe return a smaller size?
$params = null;
$rel_path = $rel_url = $src->rel_path;
- $is_cached = true;
return;
}
@@ -197,7 +196,6 @@ final class DerivativeImage
}
else
{
- $is_cached = true;
$url_style = 1;
}
}