change the pic source to sprite
load images