added max image size for pages gallery