restrict ads image size.