def rm_strheader(images):
    """
    Remove the header of the images base64 string from front-end
    :param images: the input should be the base64 string of the image
    :raises TypeError: if input is not a string

    :returns: base64 string without data header

    :rtype: string
    """
    if type(images) is not str:
        raise TypeError('Error: imput should be a string')

    index = images.find(',')
    image_str = images[index + 1:]

    return image_str