After further investigation I found out that it actually is uploading to the server tmp dir as defined by php.ini but it doesn't go further than that, the tmp file is deleted and thats it!
OK, a rights issue on the gallery dir? I checked that also, apache is allowed to write in it