Pass copy of image dict to setup_image function