Reputation: 21
Images are uploading but no Thumbnails are being generated.
thumb.php?f="image.png"&width=240 gives
Error generating thumbnail
Error creating thumbnail: Error code: -1
During install of Wikimedia no thumb subdirectory has been created in images. Where is the path of the thumbnails?
The Original file (672 × 671 pixels, file size: 32 KB, MIME type: image/png) should not have a memory problem.
I am stuck trying to find a solution to create those thumbnails.
Is there a page where you can find the error codes?
Upvotes: 2
Views: 1905
Reputation: 4617
$wgUploadDirectory
is writeable by PHP.$wgUploadDirectory/thumb
(this is the thumbnail directory) and $wgUploadDirectory/tmp
exist.$wgImageMagickConvertCommand
is set, exists and is executable (locate imagemagick
may help).Failing that, enable MediaWiki debug log.
Further reading: https://www.mediawiki.org/wiki/Manual:Common_errors_and_symptoms#Image_Thumbnails_not_working_and/or_appearing.
Upvotes: 2