Topic on Extension talk:PagedTiffHandler

How to fix TIFF/TIF files uploading as two pages instead of one

1
Guillaume Taillefer (talkcontribs)

I'm trying to test out uploading some single-paged tiff files of old documents that I scanned, and whenever I upload them to my wiki, they almost always show that theres two pages of the tiff file(s) that you can look that. Theres two ways that this shows, the most common being that the first page will be a grey background with an error message saying: Error creating thumbnail: File with dimensions greater than _#_ MP, with the second page being the actual tif file that I uploaded. While uploading them through UploadWizard, it shows that the thumbnail wasn't able to be created (represented by a broken file), with an error message saying:

The upload succeeded, but the server could not get a preview thumbnail.

I had asked about this stuff elsewhere, and Bawolf told me that I should modify the $wgMaxImageArea to fix the first problem, however when I even set it to even 10e7, it would still give me the issue, although a different number in MP.


The second issue that I would have is that I would do the same thing, but instead it would give me a thumbnail, but there would still be two pages, one being a duplicate of the other. The first page had this under the image: Size of this JPG preview of this TIF file: 800 × 522 pixels. Other resolution: 2,560 × 1,671 pixels. (each pixel size with their own link), and the second page being: Size of this JPG preview of this TIF file: 800 × 522 pixels.


But then theres sometimes when theres a tiff that doesn't do this, and theres just one tiff page, without duplicates or errors.


If anyone could help that'd be great, thanks.

Reply to "How to fix TIFF/TIF files uploading as two pages instead of one"