Made photo constant based on uid