https://bugzilla.wikimedia.org/show_bug.cgi?id=72324

--- Comment #7 from Daren Welsh <[email protected]> ---
I think we're using GD. We have $wgUseImageMagick = false.

I think I understand your points about GD and the associated increased memory
use. I've noticed that I can increase that value. While I'm not sure how far I
can safely increase that value without impacting the server, the question about
the $wgMaxImageArea parameter remains: Why am I able to upload an image with
pixel count in excess of that value?

Upon further investigation, I discovered that the $wgMaxImageArea was actually
set to a higher value in another custom settings file referenced from
LocalSettings. Once I found that, I commented it out and refreshed the large
image page. The result is that the scaled image preview is gone and replaced
with the message "Error creating thumbnail: Invalid thumbnail parameters". If I
uncomment that line to increase $wgMaxImageArea, the scaled image preview
appears again.

So what I think this is telling me is that the $wgMaxImageArea value does not
control a max size value of an image that is allowed to be uploaded, but rather
a max size of an image that will be scaled. Is that true? If so, I'd like to
update the documentation for that parameter.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to