aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-03-26 04:07:03 +0000
committerrvelices <rv-github@modusoptimus.com>2012-03-26 04:07:03 +0000
commit9d66c18541edd35e69e0acb739d9c4def2b4bf5e (patch)
tree94b35a512999e1783d52ed9b4a1071b4dc015990 /picture.php
parentc537b5144f2f0b8be300dd76d3388a4232d85951 (diff)
- small js fixes on index/picture
- i.php does not use derivatives.dat file anymore (obsolete file) - better selection of derivatives in picture.php - larger sharpen real range in image.class.php git-svn-id: http://piwigo.org/svn/trunk@13736 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--picture.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/picture.php b/picture.php
index 6763ee881..bb5c79cab 100644
--- a/picture.php
+++ b/picture.php
@@ -172,6 +172,8 @@ function default_picture_content($content, $element_info)
{
if ($type==IMG_SQUARE || $type==IMG_THUMB)
continue;
+ if (!array_key_exists($type, ImageStdParams::get_defined_type_map()))
+ continue;
$url = $derivative->get_url();
if (isset($added[$url]))
continue;