3 * Directory where you source image files live
5 $rawDir = __DIR__ . '/../raw/';
8 * Directory in which all the image files get generated into.
9 * You could put that to /var/cached/avatars/ or so
11 $varDir = __DIR__ . '/../var/';
14 * Document root of the web server host.
16 $wwwDir = __DIR__ . '/../www/';
19 * Directory of default resource files.
20 * You probably do not want to change that.
22 $resDir = __DIR__ . '/../res/';
25 * Array of image sizes to generate.
26 * Needs to be in ascending order.
28 $sizes = array(16, 32, 48, 64, 80, 96, 128, 256, 512);
31 * Maximum image size supported by the server
36 * Default log level. 0 for no logging, 1 for important messages, 3 for all
41 * By default, images are only generated if their source file (in raw/)
42 * is newer than the generated square file. If you set $forceUpdate
43 * to true, the images will always be regenerated.