mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
bug:1791 display hd dimensions instead of websize dimensions
git-svn-id: http://piwigo.org/svn/trunk@10157 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -738,6 +738,12 @@ function pwg_scan_file($file_full, &$line)
|
||||
|
||||
$high_file = $file_dir.'/'.$conf['high'].'/'.$file_base;
|
||||
$element['high_filesize'] = floor(filesize($high_file) / 1024);
|
||||
|
||||
if ($high_size = @getimagesize($high_file))
|
||||
{
|
||||
$element['high_width'] = $high_size[0];
|
||||
$element['high_height'] = $high_size[1];
|
||||
}
|
||||
}
|
||||
|
||||
// get EXIF meta datas
|
||||
|
||||
Reference in New Issue
Block a user