Use the lightning-carousel-image component to specify images to display in the lightning-carousel component. You can specify up to five images. The images are displayed in the order you list them in the lightning-carousel component. For each image, use the src attribute to specify the path to the image.