Topic on Extension talk:PdfHandler

PDFHandler doesn't show images

2
213.211.236.242 (talkcontribs)

I'm running MWK 1.30.0 (PHP 5.6.35). And installed PHPHandler in the version of 26.Apr-2018.

I embedded an PDF in one of my wiki pages with: File:test.pdf|page=1|thumb|My PDF

But only the link to the file is shown an no image of the first page.

In the files overview of the wiki, only the default PDF icon for the document is shown.

I'm using the wiki on Windows 10 and these are the lines in my LocalSettings.php:

wfLoadExtension( 'PdfHandler' );

$wgGenerateThumbnailOnParse = true;


$wgUseImageMagick = true;

$wgImageMagickConvertCommand = 'C:\wamp64\ImageMagick-7.0.7-Q16\convert.exe';

$wgPdfProcessor = 'C:\wamp64\gs\gs9.23\bin\gswin64.exe';

$wgPdfPostProcessor = $wgImageMagickConvertCommand;

$wgPdfInfo = 'C:\wamp64\xpdf-tools-win-4.00\bin64\pdfinfo.exe';

$wgPdftoText = 'C:\wamp64\xpdf-tools-win-4.00\bin64\pdftotext.exe';

$wgPdfCreateThumbnailsInJobQueue = "false";

There are no error-logs generated and running these maintenance scripts also doesn't help:

php C:\wamp64\www\mediawiki\maintenance\refreshImageMetadata.php 
php C:\wamp64\www\mediawiki\maintenance\rebuildImages.php 
php C:\wamp64\www\mediawiki\maintenance\runjobs.php

Any idea what I can try or how I can test or debug the PDFHandler?

Huwmanbeing (talkcontribs)

I'm encountering the very same phenomenon and am not sure how to proceed. Did you ever figure out a solution? Huwmanbeing (talk) 11:42, 7 September 2019 (UTC)

Reply to "PDFHandler doesn't show images"