def get_profile_item_image_upload_path(item, filename):
    """
    Get the path to upload a profile item's image to.

    Args:
        item:
            The profile item whose image is being uploaded.
        filename:
            The original name of the image being uploaded.

    Returns:
        The path to upload the profile item's image to.
    """
    return "know-me/users/{id}/profile-images/{file}".format(
        file=filename, id=item.topic.profile.km_user.id
    )