add initialize image function