diff --git a/core/imageboard/image.php b/core/imageboard/image.php index 2a7b7692..d1286a99 100644 --- a/core/imageboard/image.php +++ b/core/imageboard/image.php @@ -14,8 +14,8 @@ class Image public const THUMBNAIL_DIR = "thumbs"; public ?int $id = null; - public int $height; - public int $width; + public int $height = 0; + public int $width = 0; public string $hash; public int $filesize; public string $filename;