Images with %20 in the filename are unproperly handled
If you upload an image with a %20 within the file name, the image is unproperly saved and then it is broken from within the gallery.
I think the reason is that when the browser find this code, the request is translated to space, and so should the script before saving the files.
I don't know if I'm being clear about the problem. Just upload an image with a name like wedding%20picture1.jpg and then try to see it through the Web.