saved images to array for detailview for instant loading