Another attempt at fixing multiple image uploads.