Set up handlers listening image change