put all image stuff into an array