def photo_pull(req, id_num, img_name):
    """
    Creates path to image based on name and redMapper id number.
    
    Args:
        req: the http request
        id_num: the redmapperID of the image galaxy
        img_name: the name of the desired image
        
    Returns: 
        Path to desired image
    """
    path = "static/data/" + id_num + "/" + id_num + "-" + img_name 
    return path