allowing up to 8 images