Added support for multi-image uploading