def getTags(photoInfo):
    """Get all the tags on a photo."""
    result = []
    for tag in photoInfo.find('photo').find('tags').findall('tag'):
        result.append(tag.text.lower())

    return result