Slice() to set maximum number of images in repeater (using "randomising" code)

@jonatandor35 THIS IS AWESOME !! And works perfectly. Thank you so much !!!