[Mediawiki-l] Is there a way to limit the size of images uploaded

Platonides Platonides at gmail.com
Tue Jan 8 13:38:12 UTC 2008

Grietinus Koops wrote:
> Thanks Itay! This worked!
> But same as you I'm curious about the logic behind it. As there is a limit
> of 20M for some reason. 2500 x 1600 pixels generates far less than
> 20MegaBytes I would say. And then it's only in case of thumbnail view...
> I'm open for suggestions :)
> Regards,
> Grietinus

The uncompressed image is about 15Mb of contiguous memory.
Add the overhead of all classes and mediawiki code and the size of the 
thumbnail you're writing.

More information about the MediaWiki-l mailing list