Another attempt at fixing multiple image uploads.
Merge pull request #48 from retr0h/working

Another attempt at fixing multiple image uploads.