Move image change functions to image itself