[dokuwiki] Re: Image size limit for resizing

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 17 Jan 2007 13:59:23 +0100

Gabriel Birke writes:

This is not a drupal-speicific

Uhm... guess you meant DokuWiki? ;-)

but a general PHP a memory limit problem. You
can try setting "memory_limit" in php.ini to a higher value (for example
"32M") or insert 'ini_set("memory_limit", "32M");' somewhere in your code.
See http://www.php.net/manual/en/ini.core.php for details. This should be
easy if it's your own server but some hosters don't allow you to change the
memory limit.

DokuWiki tries to check the needed memory against the limits and should abort the image resizing, leaving it to the browser to resize the image. You should first check that it's really a memory problem (check your errorlogs).

To avoid these memory limits you can also use image magick by setting the imconvert option.

Andi
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: