adjusted max image size