only scale if image is too large