Is this forcing users to enter exactly 5 images in the module? Why don't you check i.e. if the image is empty and then that slide will be not displayed at all?