Skip to content

Web Image

This page documents hooks in the web image category.


WebImageDownloaded(name, path)View Source

Purpose

Runs after a web image is successfully downloaded, saved, and built into a material.

Category

Web Image

Realm

Client

Parameters

string name The registered image name or derived save name used by the web image cache.

string path The data material path for the downloaded image, prefixed with `data/`.

Example Usage

  hook.Add("WebImageDownloaded", "liaExampleWebImageDownloaded", function(name, path)
      print("[MyModule] handled WebImageDownloaded")
  end)