adding images and fixing getImage