dynamic images and switch domain