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