def get_photo_image_name_from_img_src(img_src, exclude = '_display'):
    """Parses img_src gotten from photologue's .get_display_url() (or thumbnail)
    (E.g. "to_del_photo_/media/photologue/photos/cache/ImageName_rndnumbers_display.jpg")
    and returns a substring of photo's image's name. (E.g. "ImageName_rndnumbers.jpg)
    Excludes '_display' substring by default.
    """
    return str(img_src).replace(str(exclude), '').split('/')[-1]