Adds restrictions for sizing on scaled images.