(no slip) Added min/max helpers on photo class