preparations for image player upload