Previews Not Generating
This is the most common issue. The plugin needs ImageMagick to generate WebP previews.
Check Server Capabilities
1.Go to Settings → PDF Viewer → Server Info2.Look for ImageMagick PHP Extension — should show "Available"3.If not available, contact your host to enable the ImageMagick PHP extensionCommon Hosting Notes
SiteGround, Kinsta, WP Engine — ImageMagick usually pre-installedShared hosting — May need to request ImageMagick via support ticketDocker/local dev — Install php-imagick packageWithout ImageMagick
The plugin still works — PDFs can be viewed in the full PDF.js viewer. You just won't get the instant WebP preview images. A generic placeholder will show instead.
Preview Quality Issues
If previews look blurry or pixelated:
1.Go to Settings → PDF Viewer2.Change Preview Quality to High (300 DPI)3.Go to Tools tab → Process Unprocessed PDFs to regenerate4.Note: High quality creates larger preview filesViewer Not Loading on Click
1.Check browser console (F12) for JavaScript errors2.Verify the PDF URL is accessible (not behind authentication)3.Clear all caches (site cache, CDN, browser)4.Try a different browser to rule out extensions5.Check if another plugin is blocking JavaScript loadingLayout Shift (CLS) Issues
If you're seeing layout jump when the viewer loads:
1.Ensure the PDF was processed (preview generated) — the aspect ratio comes from the PDF metadata2.If the PDF wasn't processed, go to Tools → Process Unprocessed PDFs3.Check that no CSS is overriding the viewer's aspect-ratio propertyShortcode Not Working
1.Verify the syntax: [pdf_viewer id="123"]2.Ensure the id is a valid PDF attachment ID (not a page/post ID)3.Check that the PDF exists in your Media Library4.The shortcode won't work in widget titles — only in content areasBlock Not Appearing in Editor
1.Ensure the plugin is activated2.Search for "PDF" or "PDF Viewer" in the block inserter3.The block is in the Embed category4.Try clearing your browser cache and refreshing the editorLarge PDFs Loading Slowly
For PDFs with many pages:
The preview always loads instantly (single WebP image)The full viewer streams pages as needed — only visible pages renderConsider using "click" load behavior so the viewer doesn't load until requestedIf the PDF file itself is large (50MB+), consider compressing it before uploadPHP Version Error
The plugin requires PHP 8.1 or higher. If you see a version error:
1.Check your PHP version: Tools → Site Health → Info → Server2.Contact your host to upgrade PHP3.Most hosts support PHP 8.1+ on current plansGetting Support
Use the [WordPress.org support forum](https://wordpress.org/support/plugin/maxtdesign-pdf-viewer/):
1.Describe the issue2.Include: WordPress version, PHP version, ImageMagick status3.Check Settings → PDF Viewer → Server Info and include the details4.Attach a screenshot if it's a display issue