I have a script that creates thumbnails for images. It was working fine just yesterday, but all of the sudden the script giving me an error; the server was saying that imagecreatefromjpeg() was an undefined function. Any idea what might be going on? I changed the code from $im = imagecreatefromjpeg() to $im = @imagecreatefromjpeg() and it stopped giving me the undefined function error, but now it just ends the script and doesn't actually process anything.