Fatal error: Uncaught Error: Call to undefined function imagecreatefrompng() in C:\xampp\htdocs\file.php:790 Stack trace: #0 C:\xampp\htdocs\file.php(214): DirectoryListing->__generatePreview('./intranet2/pub...') #1 C:\xampp\htdocs\file.php(890): DirectoryListing->run() #2 {main} thrown in C:\xampp\htdocs\file.php on line 790