Function addImg

adds an HtmlImage element as child of the HtmlElement with the idElement parameter

  • Parameters

    • image: string

      string corresponding to the path of image

    • height: string
    • width: string
    • idElement: string

      HtmlElement id that will append the img tag as child

    Returns boolean

    true if img tag was added successfully, otherwise false