diff options
author | vdigital <vdigital@piwigo.org> | 2009-07-01 21:06:55 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2009-07-01 21:06:55 +0000 |
commit | a61dfc631d868c9eb4ba5caf19225f1d9a2b6a1e (patch) | |
tree | 88c3e54eff8ea1e78b2b355d4118192e52ba5a5a /include/category_default.inc.php | |
parent | 7ee363b9f9078c00daa0c205076adfd1e37c686a (diff) |
Reverse of 3484
git-svn-id: http://piwigo.org/svn/branches/2.0@3490 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/category_default.inc.php')
-rw-r--r-- | include/category_default.inc.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php index ab2e1c97e..98e6250f1 100644 --- a/include/category_default.inc.php +++ b/include/category_default.inc.php @@ -103,12 +103,11 @@ foreach ($pictures as $row) ), array('start') ); - $tn_src = get_thumbnail_url($row); - list($tn_width, $tn_height, $tn_type) = @getimagesize($tn_src); + $tpl_var = array( 'ID' => $row['id'], - 'TN_SRC' => $tn_src, + 'TN_SRC' => get_thumbnail_url($row), 'TN_ALT' => $row['file'], 'TN_TITLE' => get_thumbnail_title($row), 'ICON_TS' => get_icon($row['date_available']), @@ -127,9 +126,6 @@ foreach ($pictures as $row) 'FILE_METADATE' => $row['date_metadata_update'], 'FILE_HAS_HD' => ($row['has_high'] and $user['enabled_high']=='true') ? true:false, /* lack of include/functions_picture.inc.php */ - 'FILE_TN_WIDTH' => $tn_width, - 'FILE_TN_HEIGHT' => $tn_height, - 'FILE_TN_TYPE' => $tn_type, ); if ($user['show_nb_hits']) |