Topic on Project:Support desk

Error creating thumbnail Error code: 25

4
Gokouruki (talkcontribs)

I'm using ImageMagick.

Only appears when generating thumbnails of high-resolution pictures (like 5,632 × 2,048).

Can anyone help me pls?

MarkAHershberger (talkcontribs)

What is the full error? One thing to try would be to increase the memory available to ImageMagick by increasing $wgMaxShellMemory.

Bawolff (talkcontribs)

signal 25 is SIGXFSZ, which would be manual:$wgMaxShellFileSize is too small (However possibly image magick is creating big temp files because it ran out of memory, so mark may ultimately be right. Anyways, try playing with both setting).

Gokouruki (talkcontribs)

Thank you all, I defined the following, and the problem is solved.

$wgMaxImageArea = 3e7;

$wgMaxShellMemory = 1024000;

$wgMaxShellFileSize = 204800;

Reply to "Error creating thumbnail Error code: 25"