Thank you for your help. The problem is now clear to me, that the extensions which GD is part of, was not installed on our server. The server can not be restarted until later, but things should work when the server is restarted.
In the meantime i have found another problem with our installation of Moodle, but i will try to se if I can find an answer to that later.