tested with file writing, so displaying correctly still and writing to file correctly, stops at 25 images
tested with file writing, so displaying correctly still and writing to file correctly, stops at 25 images