mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
no longer use of images.tn_ext field any longer
git-svn-id: http://piwigo.org/svn/trunk@15598 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -55,7 +55,7 @@ if (isset($_POST['submitEmail']) and !empty($_POST['group']))
|
||||
if (!empty($category['representative_picture_id']))
|
||||
{
|
||||
$query = '
|
||||
SELECT id, file, path, tn_ext
|
||||
SELECT id, file, path
|
||||
FROM '.IMAGES_TABLE.'
|
||||
WHERE id = '.$category['representative_picture_id'].'
|
||||
;';
|
||||
|
||||
@@ -194,8 +194,7 @@ if (isset($_GET['processed']))
|
||||
SELECT
|
||||
id,
|
||||
file,
|
||||
path,
|
||||
tn_ext
|
||||
path
|
||||
FROM '.IMAGES_TABLE.'
|
||||
WHERE id = '.$image_id.'
|
||||
;';
|
||||
|
||||
@@ -65,8 +65,7 @@ array_push(
|
||||
$query = '
|
||||
SELECT
|
||||
id,
|
||||
path,
|
||||
tn_ext
|
||||
path
|
||||
FROM '.IMAGES_TABLE.'
|
||||
WHERE id = '.$image_id.'
|
||||
;';
|
||||
|
||||
@@ -812,7 +812,7 @@ function get_element_path($element_info)
|
||||
* have a thumbnail, the default mime image url is returned. The URL can be
|
||||
* sent to the browser, but not used in the php script.
|
||||
* @param array element_info assoc array containing element info from db
|
||||
* at least 'path', 'tn_ext' and 'id' should be present
|
||||
* at least 'path' and 'id' should be present
|
||||
*/
|
||||
function get_thumbnail_url($element_info)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user