Added code to increase tile size for high-res images.