Thank you for the question.
May I know which product were you using?
"import url function", may I get a screenshot stating where did you see that?
"not working", may I know what did you mean by not working? A screenshot is preferred. Did it generate an icon with hyperlink on the canvas?