EDocman Thumbnail Generator Plugin

Overview

The EDocman Thumbnail Generator plugin automatically generates thumbnail images from uploaded PDF documents.

Plugin Group: edocman
Purpose: Auto-generate PDF thumbnails on document upload
Requires: PHP GD or ImageMagick library

Configuration

ParameterDescription
PDF Page for Thumbnail Which page to extract for thumbnail generation (typically page 1 for cover page)
Enable Watermark Add text watermark overlay on generated thumbnail
Watermark Text Text to display as watermark (e.g., "Preview", "Sample", company name)
Watermark Font Size Font size for watermark text in pixels

How It Works

  1. User uploads PDF document in admin or frontend
  2. Plugin detects PDF file type
  3. Extracts specified page as image
  4. Resizes to configured thumbnail dimensions (from component configuration)
  5. Applies watermark if enabled
  6. Saves thumbnail to media folder
  7. Associates thumbnail with document automatically

Features

  • Automatic Generation: No manual thumbnail creation needed
  • Configurable Page Selection: Use any page from PDF as thumbnail
  • Watermark Support: Brand or protect thumbnails with text overlay
  • Standard Integration: Uses component thumbnail size settings
  • Performance Optimized: Generates thumbnail once on upload

System Requirements

  • PHP GD library with PDF support OR
  • ImageMagick extension installed on server
  • Sufficient PHP memory limit for PDF processing (128MB+ recommended)

Usage

  1. Navigate to Extensions → Plugins in Joomla admin
  2. Search for "EDocman Thumbnail Generator"
  3. Enable the plugin
  4. Click plugin name to configure
  5. Set PDF page and watermark options
  6. Save configuration
  7. Upload PDF documents - thumbnails generate automatically

Use Cases

  • Document Libraries: Automatic visual previews for all PDFs
  • Report Repositories: Show report cover pages
  • eBook Collections: Display book covers automatically
  • Brochure Downloads: Visual identification of marketing materials
  • Branded Previews: Watermark thumbnails with company logo text

Troubleshooting

Thumbnails Not Generating:

  • Verify PHP GD or ImageMagick is installed: Check phpinfo()
  • Increase PHP memory limit in php.ini: memory_limit = 256M
  • Check PDF file is not corrupted
  • Verify write permissions on media folder

Poor Quality Thumbnails:

  • Increase thumbnail dimensions in component configuration
  • Use higher quality source PDFs
  • Check PHP GD configuration for JPEG quality settings

Watermark Not Appearing:

  • Ensure watermark is enabled in plugin settings
  • Check watermark text is not empty
  • Verify font size is appropriate for thumbnail dimensions

Tips

  • Use page 1 for most documents (cover page)
  • Keep watermark text short for readability
  • Test watermark font size with different thumbnail dimensions
  • Consider disabling watermark for public documents
  • Use watermark for preview/sample indicators
  • Combine with manual thumbnail override when needed

Updated: January 2026