# Inline PDF Previews

**URL:** https://meta.discourse.org/t/inline-pdf-previews/157649
**Category:** Theme component
**Tags:** official, desktop, pdf-previews
**Created:** [July 13, 2020, 9:18pm UTC](https://meta.discourse.org/t/inline-pdf-previews/157649 "2020-07-13T21:18:10Z")
**Posts on this page:** 1
**Showing post:** 116

<div class="post-metadata">

### Author: ![Alon1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alon1/32/197167_2.png) [@Alon1](https://meta.discourse.org/u/Alon1)
#### Post date: [March 2, 2023, 1:49pm UTC](https://meta.discourse.org/t/inline-pdf-previews/157649/116 "2023-03-02T13:49:35Z")

</div>

That’s great!  
Simply (1) installing IFrame Lightboxes theme-component and (2) adding my own website url to the list of “iframe origin domains” in the component settings, works! It adds the expand button right above the right corner of the PDF inline

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/4/2/242103819bca1fab1fc1e3ddc247fb1783abb1c0.png)

Right out of the box 🙂

---

_[View the full topic](https://meta.discourse.org/t/inline-pdf-previews/157649)._
