Any conditional syntax for the width/height resize properties?

Hello everyone

Could someone please explain the syntax (if any is possible) for the width and height properties so that resizing to a 120px side (of a square photo) happens if the width or height is no less than 120px?
In other words: no Width resizing if W is less than 120 and no Height resizing if H is less than 120.
Thank you
image

Community Page
Last updated: