Add function of getting images