Number format image dimensions in artwork listing

This commit is contained in:
Alex Cabal 2024-02-09 12:17:44 -06:00
parent 3caea5f708
commit 1bc946f7b5

View file

@ -267,7 +267,7 @@ class Artwork extends PropertiesBase{
try{
list($imageWidth, $imageHeight) = getimagesize($this->ImageFsPath);
if($imageWidth && $imageHeight){
$this->_Dimensions = $imageWidth . ' × ' . $imageHeight;
$this->_Dimensions = number_format($imageWidth) . ' × ' . number_format($imageHeight);
}
}
catch(Exception){