Fit contain
Log in to add to favouritesWhen the fit=contain
parameter is used in conjunction with the width
and height
parameters then the image will be scaled to fit within the width / height boundaries without cropping, distorting or altering the aspect ratio. The image will be scaled up if it is smaller than the output size.