Fatal error: Uncaught ValueError: Path cannot be empty in /home/www/image.php:27 Stack trace: #0 /home/www/image.php(27): imagecreatefromgif('') #1 {main} thrown in /home/www/image.php on line 27