On wordpress, how do i require specific dimensions from user uploads only

Compare the exact sizes you want with an inequivalence operator instead of a less than. In other words, change your < to !=