implement basic feature: switch images