It sounds like you don't have the GD extension installed. I don't use Ubuntu any longer, but I think it may be named php5-gd,...
How to Install Firmware in Debian Buster to Enable Wireless This package contains the binary firmware for Intel Wireless cards supported by the iwl3945, iwl4965, and...
How to install Xfce on Ubuntu