🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
PDF-Preview inside File-Block icon
Actively maintained Tested with WP 7.1

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.

Active installs20+10+ tier
Downloads · 30d123▼ -13.4% vs prev. 30d
Rating5/51 reviews
Health score74/100Good
All-time downloads1.1KSince Mar 2026
Support resolved1 / 1100% in last 2 months
RequiresWP 6.9PHP 8.0+
Downloads · 7d20▼ -44.4% week over week
Our verdict

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 & support

Daily downloads

122436Sep 3Oct 17Dec 1
Yesterday2
Daily average (1y)4
Peak day85Mar 4, 2026
Last 12 months1.2K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where PDF-Preview inside File-Blo… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
blocks >100 10,000 Best blocks plugins →
file >100 10,000 Best file plugins →
gutenberg >100 8,551 Best gutenberg plugins →
LMDM #3 8 Best LMDM plugins →
pdf >100 4,406 Best pdf plugins →

Version adoption

Share of active sites per release.

  • 1.2100.0%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About PDF-Preview inside File-Block

From the official readme · v1.2.3

Description

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

  1. Be sure imagick and ghostscript are present in your web hosting
  2. Upload the plugin files to the /wp-content/plugins/pdf-preview-inside-file-block directory, or install the plugin through the WordPress plugins screen directly.
  3. Activate the plugin through the Plugins screen in WordPress
  4. Use the Settings → PDF Preview screen to configure the file block defaults
  5. 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

Full changelog on WordPress.org →

Screenshots

Plugin usage in Gutenberg Editor
Plugin usage in Gutenberg Editor
Plugin settings in detail
Plugin settings in detail
Additional block style variation
Additional block style variation
Plugin settings with default values
Plugin settings with default values
Usage in Block-Editor
Usage in Block-Editor
Plugin General Settings
Plugin General Settings

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.

Active installs badge Rating badge Health score badge

Best PDF-Preview inside File-Block alternatives

All blocks plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Spectra Legacy – Gutenberg Blocks Spectra Legacy – Gutenberg Blocks Gutenberg blocks for existing Spectra websites. Maintained, stable, and fully supported —… by Brainstorm Force 1M+ ★★★★★★★★★★ 4.7 (1.9K) 2 weeks ago 85
2 Kadence Blocks — Page Builder Toolkit for Gutenberg Editor Kadence Blocks — Page Builder Toolkit for Gutenberg Editor 20+ Gutenberg Blocks with endless options, enabling top-notch efficiency for… by Nexcess 600K+ ★★★★★★★★★★ 4.8 (337) 1 week ago 91
3 Extendify Extendify The best WordPress templates, pattern, and layout library with 1,000+ designs built for the… by Extendify 500K+ ★★★★★★★★★★ 4.7 (10) 2 days ago 76
4 SiteOrigin Widgets Bundle SiteOrigin Widgets Bundle Essential elements for modern websites. Add buttons, sliders, heroes, maps, images… by Greg - SiteOrigin 400K+ ★★★★★★★★★★ 4.9 (134) 1 week ago 97
5 Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE Otter Blocks Quickly create WordPress pages with 20+ blocks, 100+ ready-to-import designs, and advanced… by Themeisle 300K+ ★★★★★★★★★★ 4.7 (252) 22 hours ago 96
6 Page Builder Gutenberg Blocks – CoBlocks Page Builder Gutenberg Blocks – CoBlocks CoBlocks is a suite of page builder WordPress blocks for Gutenberg, with 10+ new blocks and… by GoDaddy 300K+ ★★★★★★★★★★ 4.2 (109) 9 months ago 50
7 GenerateBlocks GenerateBlocks A small collection of lightweight WordPress blocks that can accomplish nearly anything. by Tom 200K+ ★★★★★★★★★★ 4.9 (122) 3 weeks ago 87
8 Layout Grid Block Layout Grid Block A Gutenberg container block to let you align items consistently across a global grid. by Automattic 200K+ ★★★★★★★★★★ 4.7 (13) 3 years ago 43
9 Stackable – Page Builder Gutenberg Blocks & Patterns Stackable – Page Builder Gutenberg Blocks & Patterns Build stunning websites with 42 custom blocks, 100+ free patterns, and a 375 design… by Benjamin Intal 100K+ ★★★★★★★★★★ 4.9 (522) 1 day ago 81
10 Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets Widget Options Widget Options gives you super powers to control your site’s sidebar widgets and all… by Marketing Fire 100K+ ★★★★★★★★★★ 4.9 (1.5K) 3 weeks ago 91

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

↑↓ to move↵ to open