Does the version of GD you specified in config.php match the one installed (1 or 2)? Have you tried looking at the output of phpinfo() to see if that gives any clues? Are there any errors in the Apache log?
if I attempt upload of an image .jpg into my edit profile, your server reply with the following message: "Image must be in JPG or PNG format".
The same happens when I make the attempt of the upload with a PNG format and when I make a upload on my php server 4.1.2.
I've Internet Explorer 4.5 and MacOS 8.5.1. My server not reside on my computer but on Apache Linux server .
I hope of to have given sufficient indications in order to resolve this problem.
I went back into my config file and changed the the GD setting from gd1 to gd2 and the problem went away.
Aha! Thanks Art!
Are they talking about going to configuration in moodle, changing GD version to 2.0 rather than 1.0?
If so, mine is already set to 2. I do not see any mention of GD in the config.php file when I open it as a text file. Is this my problem? If so, what is the syntax to add?
yes, I had understood the difference between blacksquare problem and this; I send you the file (my photo) of which the upload on your server is failed.
So I think the original problem is that there was definitely some errors in that particular JPEG file.
I've uploaded "davide-suraci.jpg" on your server on
http://moodle.com/mod/forum/discuss.php?d=76 forum post, but if I attempt
download of this image to link:
a broken link.
It seems that yours parser to transform the character "-" in the "underscore" character. The character "-" is not authorized?
something - something.doc
which ended up like:
but the current clean_filename routine produces:
which I think is much nicer.
I'm open to discussion about it! (perhaps in another forum though, like the 'Using Moodle' course ... )