add a image event when it be changed