gallery now loads all images at once