adding max image size for pages gallery