PHPackages                             xrow/pdfpreview-ls - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. xrow/pdfpreview-ls

ActiveEzpublish-legacy-extension[Image &amp; Media](/categories/media)

xrow/pdfpreview-ls
==================

generate preview images of pdf files

2.0.2(8y ago)15.6k2GPL-2.0PHP

Since Sep 17Pushed 8y ago13 watchersCompare

[ Source](https://github.com/xrowgmbh/pdfpreview)[ Packagist](https://packagist.org/packages/xrow/pdfpreview-ls)[ RSS](/packages/xrow-pdfpreview-ls/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

```

/*
    PDF preview for eZ Publish
    Copyright (C) 2014  xrow GmbH, Hannover Germany, http://xrow.com

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
*/

### BEGIN INIT INFO
# Provides:          pdfpreview
# Depends:		     imagemagick + ghostscript
# OS:			     Linux, FreeBSD, Windows
# Version:		     > eZ 4.x
# Developed:	     Björn Dieding  ( bjoern [at] xrow [dot] de )
# Short-Description: PDF Preview image generator
# Description:       Generates an image from a single PDF page
# Resources:	     http://projects.ez.no/pdfpreview
### END INIT INFO

#### Setup ####

install imagemagick + ghostscript + activate extension + run autoloads + clear cache

allow to access your "cache/pdfpreview" folder in your htaccess example:

RewriteRule ^var/([^/]+/)?(storage/images(-versioned)?|original/video|original/text|cache/public|cache/pdfpreview|storage/cam-cache)/.* index_cluster.php

Add a attribute with the identifier "preview_page_number" of the datatype "integer" to the file class

#### Usage ####

pathtofile|pdfpreview( width, height, attribute_id, attribute_version, pdfpage )

example:

{if $node.object.data_map.file.content.mime_type|eq('application/pdf')}

{/if}

### Deleting the Preview Images ####

php bin\php\ezcache.php --clear-id=pdfpreview --purge

#### Troubleshooting ####

Look into the debug output
For further information contact service [at] xrow [dot] de
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 79.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~185 days

Total

5

Last Release

3152d ago

Major Versions

1.0.1 → 2.02017-08-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/f08bee051f28728169796d79eb57b9387fb49abf244faaa1517952d7e22e1a7d?d=identicon)[xrow](/maintainers/xrow)

---

Top Contributors

[![xrowrobert](https://avatars.githubusercontent.com/u/1880146?v=4)](https://github.com/xrowrobert "xrowrobert (19 commits)")[![dennisxrow](https://avatars.githubusercontent.com/u/8330144?v=4)](https://github.com/dennisxrow "dennisxrow (2 commits)")[![xinyuexrow](https://avatars.githubusercontent.com/u/2157109?v=4)](https://github.com/xinyuexrow "xinyuexrow (2 commits)")[![soerenxrow](https://avatars.githubusercontent.com/u/2361531?v=4)](https://github.com/soerenxrow "soerenxrow (1 commits)")

### Embed Badge

![Health badge](/badges/xrow-pdfpreview-ls/health.svg)

```
[![Health](https://phpackages.com/badges/xrow-pdfpreview-ls/health.svg)](https://phpackages.com/packages/xrow-pdfpreview-ls)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
