fixed bug with initial outputFormat, added support for

php versions with buggy GD-lib, and added support for the coming PageimageNamingScheme module