PDF-Preview inside File-Block
Extends the core/file block to optionally insert a PDF preview image (generated by WordPress) before the file block and adds linking/lightbox options.
Solid choice
PDF-Preview inside File-Block is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites, is rated 5/5 and was last updated 1 month ago, and scores 74/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (20+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where PDF-Preview inside File-Blo… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| blocks | >100 |
| file | >100 |
| gutenberg | >100 |
| LMDM | #3 |
| >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About PDF-Preview inside File-Block
From the official readme · v1.2.3Description
Did you know that WordPress generates a thumbnail image file when uploading a PDF-file? This works when the PHP Extension imagick and Ghostscript is available! It won’t work with GD library! You know they are present and it’s working, when you upload a PDF-file in the media library and you immediately see a thumbnail of the file. Now that thumbnails are available my plugin hooks into the Gutenberg file-block to automagically inserting that thumbnail right before the file block. Besides that it also provides some more options:
Plugin Features
✔ a toggle to insert an preview image before the file block
✔ a toggle to link the preview image with the “link to” settings value of the file block
✔ a toggle to link the preview image with itself to the full-size image
✔ a toggle to enable the Lightbox-Effect on the preview image (enable in settings)
✔ a setting to choose the size of the preview image: thumbnail, medium, large
✔ a settings page to define default for image size and show inline embed default value and a height in pixels default value
✔ when activating the plugin, the show inline embed option of the file block gets disabled by default
✔ the preview image link target is based on setting of file-block (open in new tab)
✔ adds new block styles to file block with just a few inline css code
✔ this plugins main goal is to be very lightweight and avoid loading any additional assets and saving DOM performance. It just uses 3 files.
This plugin requires imagick and Ghostscript! A good WordPress web hosting has it installed by default.
Installation
- Be sure imagick and ghostscript are present in your web hosting
- Upload the plugin files to the
/wp-content/plugins/pdf-preview-inside-file-blockdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the Plugins screen in WordPress
- Use the Settings → PDF Preview screen to configure the file block defaults
- Use the plugin functions through the new options in file block sidebar panel
Changelog
1.2.3
- Keep the preview help text stable while checking a changed image size.
1.2.2
- Added a full-resolution preview size.
- Changed the preview size selector to a dropdown and set Small as the default.
1.1
- added more block variations
1.0
- first release of the plugin
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best PDF-Preview inside File-Block alternatives
All blocks plugins →FAQ
PDF-Preview inside File-Block: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is PDF-Preview inside File-Block free?
Yes. PDF-Preview inside File-Block is free to download and use from the official WordPress.org plugin directory.
Is PDF-Preview inside File-Block safe to use in 2026?
PDF-Preview inside File-Block is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites, is rated 5/5 and was last updated 1 month ago, and scores 74/100 on our health check.
How many websites use PDF-Preview inside File-Block?
PDF-Preview inside File-Block is active on 20+ WordPress websites and has been downloaded 1,146 times since it launched in March 2026. It was downloaded 123 times in the last 30 days.
Does PDF-Preview inside File-Block work with WordPress 7.1?
Yes. The developer has tested PDF-Preview inside File-Block up to WordPress 7.1.5, the latest release. It requires WordPress 6.9 or newer.
What PHP version does PDF-Preview inside File-Block need?
PDF-Preview inside File-Block requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was PDF-Preview inside File-Block last updated?
The latest version, 1.2.3, was released on October 27, 2026 (1 month ago).
Who makes PDF-Preview inside File-Block?
PDF-Preview inside File-Block is developed and maintained by Nic.
What are the best alternatives to PDF-Preview inside File-Block?
The most popular alternatives to PDF-Preview inside File-Block are Spectra Legacy (1M+ installs), Kadence Blocks (600K+ installs) and Extendify (500K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card






