merge code and image slide