[MediaWiki-l] Thumbnail creation with pdfhandler not working

Kai Plückhahn PlueckhahnK at dietrich-logistic.com
Fri Feb 5 09:40:23 UTC 2016


Hi,

i try to get thumbnails from PDFs within mediawiki.
It´s not working even in 1.25 und 1.26.
Requirements are fulfilled. (gs 9,15, ImageMagick 6.8.8, xpdf-utils for
pdfinfo)

Vars are set in LocalSettings
# PDFHandler
wfLoadExtension( 'PdfHandler' );
$wgPdfInfo = '/usr/bin/pdfinfo';
$wgPdftoText = '/usr/bin/pdftotext';
$wgPdfProcessor = '/usr/bin/gs';
$wgPdfPostProcessor = $wgImageMagickConvertCommand; // if defined via
ImageMagick

Create thumbnails on console is working.

but when i try within mediawiki it fails with 
	magick: no images found for operation `-resize' at CLI arg 5
...

So it seems that image is not given to pdfhandler.

Maybe somebody has the same issue or know what is wrong. Help is much
appriciated.

cheers,

Kai 



More information about the MediaWiki-l mailing list