mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- new version of create_file_listing.php for future 1.4 branch
- new feature : remote site management (generate listing, update, clean, delete) - on category page, no display of filesize if info not available in database git-svn-id: http://piwigo.org/svn/trunk@526 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -103,15 +103,10 @@ while ($row = mysql_fetch_array($result))
|
||||
|
||||
// message in title for the thumbnail
|
||||
$thumbnail_title = $row['file'];
|
||||
if (!isset($row['filesize']) or $row['filesize'] == '')
|
||||
if (isset($row['filesize']))
|
||||
{
|
||||
$filesize = floor(filesize($cat_directory.$row['file']) / 1024);
|
||||
$thumbnail_title .= ' : '.$row['filesize'].' KB';
|
||||
}
|
||||
else
|
||||
{
|
||||
$filesize = $row['filesize'];
|
||||
}
|
||||
$thumbnail_title .= ' : '.$filesize.' KB';
|
||||
// url link on picture.php page
|
||||
$url_link = PHPWG_ROOT_PATH.'picture.php?';
|
||||
if ($page['cat'] == 'random')
|
||||
|
||||
Reference in New Issue
Block a user