Ok, it seems that it is a problem with the php.ini, a security expert of mine recommended me to add some statements to disable functions in the php, and that included calling executables from with php and disabling phpinfo.
I've removed those lines again, and now I can see that GD2 is available on my testsite again, and also imagemagick.
However I still see some odd behaviour.
If I use (1) to update the image I get a prompt for uploading the image, with the right dimension limitations and size limitation (4000 KB).
If I use (2), ie the profile edit, and change the avatar from with that I get the right dimension limitation, but the size limit now says 5000 KB. After uploading it I get an error that the size is bigger than 5000 KB, despite the fact that the avatar is 4 KB big?
The php.ini dictates a max file upload size of 50000 KB, so that is not an issue here.
Best regards
Fribse
Frømandsklubben Nikon,
www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.