How to Show a Full-Size Image When Clicking a PDF Thumbnail
Question details
Need to make thumbnail photos open larger images in a PDF and return to the thumbnail page when dismissed.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Adding interactive image galleries or expanding thumbnails within a standard PDF document to save space.
- Observed behavior
- Users want to click a small thumbnail to reveal a hidden full-size image, and click again to hide it and return to the original thumbnail view.
Make sure you are using a PDF editor that supports interactive form fields and action triggers, and ensure both your thumbnail and full-size images are saved locally on your computer.
Use Hidden Button Fields to Display Full-Size Images
By using interactive form buttons, you can hide a large image and only display it when a user clicks the corresponding thumbnail.
This method involves creating two interactive elements: a hidden button that contains the full-size image, and a trigger action on your thumbnail to toggle the visibility of that hidden button.
Add a new button form field over your document page or on a separate overlay area. Open its properties, navigate to the Options tab, and choose your full-size image as the button's icon.
In the General properties of the new button, set its visibility to 'Hidden' so it does not appear when the PDF is initially opened.
Create another button or a transparent link field directly over the thumbnail image. Under the Actions tab, add a 'Mouse Up' trigger and select 'Show/Hide a field'. Choose your hidden full-size image button to be shown.
Go back to the properties of the full-size image button. Add a 'Mouse Up' action that hides itself when clicked. This ensures the user is returned to the original thumbnail view after clicking the large image.

Create Interactive PDFs with WPS Office
WPS Office provides a robust set of PDF editing tools, allowing you to easily add interactive form fields, buttons, and media to your documents to create dynamic user experiences.
- 1. Open your PDF in WPS Office: Launch WPS Office and open your existing PDF document.
- 2. Access Form Tools: Navigate to the 'Form' tab in the top ribbon to access interactive form controls.
- 3. Add Push Buttons: Select the 'Push Button' tool to draw your thumbnail triggers and the containers for your full-size images.
- 4. Configure Actions: Right-click the generated buttons to open Properties, where you can set image icons and assign 'Show/Hide Field' actions.

Frequently Asked Questions
Why does my interactive PDF not work on mobile phones?
Many default mobile PDF viewers (like Apple Books or basic browser viewers) do not fully support interactive form fields or JavaScript actions. Users will need a dedicated, full-featured PDF app like WPS Office Mobile to interact with these features.
Can I link a thumbnail to an external full-size image instead?
Yes, if you want to keep the PDF file size small, you can add a standard hyperlink over the thumbnail that opens a web URL containing the high-resolution image. However, this requires the reader to have an active internet connection.
How do I make the full-size image close automatically when the mouse moves away?
You can change the trigger action on the thumbnail button from 'Mouse Up' to 'Mouse Enter' to show the image, and set a 'Mouse Exit' action to hide it. However, a 'Mouse Up' (click) is generally more reliable and accessible for most users.




