Added rank to photos