diff options
author | rvelices <rv-github@modusoptimus.com> | 2011-12-27 05:26:44 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2011-12-27 05:26:44 +0000 |
commit | 753f58d6a966a1051dcd62a3eeab8fc18798bcac (patch) | |
tree | 2ebbfec86d511aa980e0d23c170bfa5006a8793e /admin/history.php | |
parent | e77e68b7db17c28c1ca44f4865758f2afb871d07 (diff) |
feature 2541 multisize
- core implementation + usage on most public/admin pages
- still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ...
git-svn-id: http://piwigo.org/svn/trunk@12796 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/history.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/admin/history.php b/admin/history.php index cbc4a2cdf..f8d4a253b 100644 --- a/admin/history.php +++ b/admin/history.php @@ -303,7 +303,7 @@ SELECT high_filesize, file, path, - tn_ext + representative_ext FROM '.IMAGES_TABLE.' WHERE id IN ('.implode(',', array_keys($image_ids)).') ;'; @@ -313,7 +313,7 @@ SELECT $high_filesize_of_image = array(); $file_of_image = array(); $path_of_image = array(); - $tn_ext_of_image = array(); + $representative_ext_of_image = array(); $result = pwg_query($query); while ($row = pwg_db_fetch_assoc($result)) @@ -332,7 +332,7 @@ SELECT $file_of_image[ $row['id'] ] = $row['file']; $path_of_image[ $row['id'] ] = $row['path']; - $tn_ext_of_image[ $row['id'] ] = $row['tn_ext']; + $representative_ext_of_image[ $row['id'] ] = $row['representative_ext']; } // echo '<pre>'; print_r($high_filesize_of_image); echo '</pre>'; @@ -454,7 +454,7 @@ SELECT 'id' => $line['image_id'], 'file' => $file_of_image[$line['image_id']], 'path' => $path_of_image[$line['image_id']], - 'tn_ext' => $tn_ext_of_image[$line['image_id']], + 'representative_ext' => $representative_ext_of_image[$line['image_id']], ); $thumbnail_display = $page['search']['fields']['display_thumbnail']; } @@ -487,7 +487,7 @@ SELECT { $image_string = '<a class="thumbnail" href="'.$picture_url.'">' - .'<span><img src="'.get_thumbnail_url($element) + .'<span><img src="'.DerivativeImage::thumb_url($element) .'" alt="'.$image_title.'" title="'.$image_title.'">' .'</span></a>'; break; @@ -496,7 +496,7 @@ SELECT { $image_string = '<a class="over" href="'.$picture_url.'">' - .'<span><img src="'.get_thumbnail_url($element) + .'<span><img src="'.DerivativeImage::thumb_url($element) .'" alt="'.$image_title.'" title="'.$image_title.'">' .'</span>'.$image_title.'</a>'; break; |