started implementing image switchin in editor