skipLink.label

Function: resolveImageUrl()

function resolveImageUrl(imageUrl, cdnUrl): string | null;

Defined in: transforms/imageUrl.ts:13

Resolves an image URL.

  • If it’s just a filename (e.g., “abc.jpg”), prepends the CDN base URL
  • If it’s already a full URL, returns it as-is
  • Handles null/undefined gracefully
ParameterType
imageUrlstring | null | undefined
cdnUrlstring

string | null