The filesize is automatically calculated by the gallery.
'description' => '',
'filename' => StringUtil::decodeHTML(isset($row['filename']) ? $row['filename'] : ''),
'fileExtension' => $row['extension'],
- 'filesize' => $row['filesize'],
'uploadTime' => $row['dateline'],
'creationTime' => $row['dateline'],
'width' => $row['width'],
'albumID' => $row['parentid'],
'title' => $row['title'],
'description' => ($row['title'] != $row['caption'] ? $row['caption'] : ''),
- 'filesize' => filesize($file),
'uploadTime' => $row['created'],
], ['fileLocation' => $file]);
}
'description' => $row['description'],
'filename' => $row['filename'],
'fileExtension' => $row['fileExtension'],
- 'filesize' => $row['filesize'],
'comments' => $row['comments'],
'views' => $row['views'],
'uploadTime' => $row['uploadTime'],
'filename' => $row['filename'],
'fileExtension' => $row['fileExtension'],
'fileHash' => $row['fileHash'],
- 'filesize' => $row['filesize'],
'comments' => $row['comments'],
'views' => $row['views'],
'cumulativeLikes' => $row['cumulativeLikes'],
'description' => $row['description'],
'filename' => $row['filename'],
'fileExtension' => pathinfo($row['filename'], PATHINFO_EXTENSION),
- 'filesize' => $row['file_size'],
'views' => $row['view_count'],
'uploadTime' => $row['media_date'],
'creationTime' => $row['media_date'],