def extract_image_information(image_element):
    """
    Given an image selenium element containing the MLA image link, extract the MLA last name and image url
    """
    root_url = 'assembly.ab.ca'
    name = image_element.get_attribute('alt')
    name = name.replace(' ', '_')
    name = name.title()
    url = image_element.get_attribute('src').replace('..', root_url)

    return name, url