Topic on Project:Support desk

Error with ImagePreview after update

7
Mattes1002 (talkcontribs)

I upgraded my Mediawiki Installation from 1.24 to 1.31.

After the update I see the message: "Fehler beim Erstellen des Vorschaubildes: Datei mit Abmessungen größer als 12,5 MP"

It means: the is an error at generating a preview image. The size of the image is larger than 12,5 MP

When I google around... the message is present in a lot of mediawiki installation around :)

An Example http://wiki.oevsv.at/index.php?title=Datei:Oe5eep_2.jpg

Could someone help me out?

Mattes1002 (talkcontribs)

I solved it!

I installed imagemagick on my Ubuntu 18 with

sudo apt install  imagemagick-6-common

and set imagemagick in the LocalSettings.php to

$wgUseImageMagick = true;

$wgImageMagickConvertCommand = "/usr/bin/convert";

X-Savitar (talkcontribs)

Glad to know that your issue was resolved! :)

Alfredo1066 (talkcontribs)

3,456 * 5,184 = 17,915,904

If on windows, use Irfanview (ctrl-R) to downsize your image.

87.78.22.207 (talkcontribs)

The Error occured in my installation with ImageMagick activated like described in LocalSettings.php.


MediaWiki 1.29.1 and imagemagick 6.9.7.4 in Debian 9.12

147.87.243.156 (talkcontribs)

Same here. I still get: "Fehler beim Erstellen des Vorschaubildes: Datei mit Abmessungen größer als 12,5 MP"


my configuration is a follows:

MediaWiki 1.35, Linux CentOS 7 (checked with hostnamectl), ImageMagick 6.9.11-29 (checked with /usr/bin/convert --version)


$wgEnableUploads = true;

$wgUseImageMagick = true;

$wgMediaViewerOnClick = true;

$wgImageMagickConvertCommand = "/usr/bin/convert";

Simpsonspedia.net (talkcontribs)