API Reference > imodeljs-frontend > Rendering > imageElementFromUrl imageElementFromUrl Function Create an html Image element from a URL. imageElementFromUrl(url: string): Promise<HTMLImageElement> 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 208 Last Updated: 13 June, 2024