In InDesign, use the Object States panel (Window > Interactive > Object States) to create a slideshow. (For details, see “Create a multi-state object slide show” in InDesign Help.)
When you create a multi-state object, you insert images, align them in an article, and convert the article to a multi-state object.