How to Replace a Picture When a Button Is Clicked in PowerPoint
Question details
The user wants to dynamically replace one image with another in the exact same position on a slide when a specific button is clicked during a presentation.

- Product
- PowerPoint
- Device & OS
- not provided
- Scenario
- Creating an interactive presentation where an action button triggers a visual change on the current slide without moving to the next slide.
- Observed behavior
- Need a way to hide the original image and display a new image simultaneously using animation triggers linked to a button.
Ensure you have both the original picture and the replacement picture inserted onto your slide, and perfectly aligned in the exact same position before applying any animations.
Use Trigger Animations to Swap Pictures
This method utilizes Appear and Disappear animations linked to a shape or button to create the illusion of replacing a picture.
By stacking two images on top of each other and applying trigger animations, you can make the top image appear while the bottom image disappears exactly when you click a designated button.
Insert both images into your slide. Select them both, go to the Picture Format tab, click 'Align', and choose 'Align Center' and 'Align Middle' to stack them perfectly.
Go to the Insert tab, select 'Shapes', and draw a shape (like a rectangle) that will act as your interactive button. You can add text to it, such as 'Click to Swap'.
Select the replacement picture (the one on top). Go to the Animations tab and apply an 'Appear' entrance effect. Then, select the original picture (on the bottom) and apply a 'Disappear' exit effect.
Open the Animation Pane. Select both the Appear and Disappear animations you just created. Click the 'Trigger' button in the Advanced Animation group, select 'On Click of', and choose the shape you created as your button.
In the Animation Pane, ensure the second animation (Disappear) is set to 'Start With Previous' so that both the appearance of the new picture and the disappearance of the old one happen at the exact same moment.

Create Interactive Slides Easily with WPS Presentation
WPS Presentation provides intuitive animation tools and trigger settings, allowing you to build dynamic, interactive slideshows effortlessly.
- 1. Open your file in WPS Presentation: Launch WPS Office and open your presentation file.
- 2. Add elements: Insert your two pictures and a shape to serve as the button from the Insert tab.
- 3. Apply effects: Navigate to the Animation tab. Add an 'Entrance > Appear' effect to the new picture and an 'Exit > Disappear' effect to the old picture.
- 4. Configure the trigger: In the Custom Animation pane, select the effects, click 'Trigger', and link them to your button shape to complete the setup.

Frequently Asked Questions
Can I make the picture change back to the original when I click the button again?
Yes. You will need to add a second set of animations: an 'Appear' effect for the original picture and a 'Disappear' effect for the replacement picture. Set these new animations to trigger on the next click of the same button using the Animation Pane.
Why do the pictures look jumpy when they replace each other?
This happens if the two pictures are not exactly the same size or not perfectly aligned. To fix this, resize them to identical dimensions and use the 'Align Center' and 'Align Middle' tools under the Picture Format tab.
Will these clickable buttons work if I save the presentation as a PDF?
No, interactive elements like trigger animations require a presentation format (such as .pptx) and a presentation viewer to function. If you export to PDF, the triggers will not work, and the document will remain static.




