I’ve searched for this and the solutions provided in past questions are completely incomprehensible to me. Whenever I run functions like imagecreatefromjpeg, I
imagecreatefromjpeg
In Ubuntu/Mint (Debian based)
$ sudo apt-get install php5-gd