Set 5 to a number of image in a row