--- const.h.orig 2010-08-24 12:35:22.000000000 +0200 +++ const.h 2010-08-24 12:36:03.000000000 +0200 @@ -42,4 +42,7 @@ // variables replaced in pre-session_cmd and post-session_cmd #define USER_VAR "%user" +// max height/width for images +#define MAX_DIMENSION 10000 + #endif