Office Settings & Configuration

How to Replace a Picture When a Button Is Clicked in PowerPoint

Muhammad TalhaMuhammad Talha Oct 23, 2026 871 views

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.

How to Replace a Picture When a Button Is Clicked in PowerPoint
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.
Before you start

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.

Solution 1Recommended

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.

1
Insert and align the pictures

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.

2
Create the clickable button

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'.

3
Add animations to the pictures

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.

4
Set the trigger for the button

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.

5
Sync the timing

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.

Use Trigger Animations to Swap Pictures
Test in Slide Show Mode: Trigger animations only work during an active presentation. Press Shift + F5 to start the slide show from the current slide and click your button to test the effect.
Interactive Presentation Tool

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. 1. Open your file in WPS Presentation: Launch WPS Office and open your presentation file.
  2. 2. Add elements: Insert your two pictures and a shape to serve as the button from the Insert tab.
  3. 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. 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.
Fully compatible with Microsoft PowerPoint (.pptx) files and animationsIntuitive Animation Pane for precise timing and sequencingBuilt-in trigger features to make any shape or image an interactive buttonFree to download and lightweight on system resources
microsoft office alternative - wps office

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.