Bug 997051 - [Gallery] the MAX_IMAGE_SIZE in inline viewer doesn't not u...

...se customization config value