API Reference > imodeljs-frontend > Rendering > imageElementFromUrl imageElementFromUrl Function Create an html Image element from a URL. imageElementFromUrl(url: string): Promise<HTMLImageElement> see tryImageElementFromUrl. Parameter Type Description url string The URL pointing to the image data. Returns - Promise<HTMLImageElement> A Promise resolving to an HTMLImageElement when the image data has been loaded from the URL. Defined in core/frontend/src/ImageUtil.ts Line 204 Last Updated: 12 June, 2024