Fit content into holder from ratio

Fit one thing on another without cropping and centering it