Warning: Undefined variable $img in /customers/2/a/c/citb5n5d3/webroots/www/gallery/image.php on line 50 Fatal error: Uncaught TypeError: imagejpeg(): Argument #1 ($image) must be of type GdImage, null given in /customers/2/a/c/citb5n5d3/webroots/www/gallery/image.php:50 Stack trace: #0 /customers/2/a/c/citb5n5d3/webroots/www/gallery/image.php(50): imagejpeg(NULL) #1 {main} thrown in /customers/2/a/c/citb5n5d3/webroots/www/gallery/image.php on line 50