Display modes
Modal
Shows a button or thumbnail that opens a Bootstrap modal with the built-in viewer (lazy-loaded). Best for article body content where you do not want a tall iframe until the visitor asks.
- Default when Modal thumbnail is enabled: auto first-page preview
- Use
thumb="0"for a classic text button - Use
heightto control modal body height (for example80vh)
Embed
Renders the viewer in the article. header="0" (plugin default) shows only the frame. header="1" adds title/meta and toolbar actions above the viewer.
Download
Outputs a download button/link only. Useful for attachments where in-page viewing is not needed.
Viewer engines
- builtin (recommended): continuous multi-page scroll, consistent cross-browser UI, and better download control
- native: device browser PDF viewer inside an iframe