Fatal error: Uncaught ValueError: imagecreatetruecolor(): Argument #1 ($width) must be greater than 0 in /var/www/gallery/index.php:169
Stack trace:
#0 /var/www/gallery/index.php(169): imagecreatetruecolor()
#1 /var/www/gallery/index.php(100): createThumbnail()
#2 /var/www/gallery/index.php(29): list_files()
#3 {main}
thrown in /var/www/gallery/index.php on line 169