Add edit image support