GetCachedImageLink (open)

Get the URL to a cached preprocessed image file

Syntax

LOADLIB "mod::system/lib/cache.whlib";

STRING FUNCTION GetCachedImageLink(RECORD wrappedimage, RECORD processingmethod)

Parameters

RECORD wrappedimage

Wrapped image record

RECORD processingmethod

Processing method, which can optionally contain an extra BASEURL cell

STRING baseurl

Base URL for the resulting URL.

STRING method

Resize method ('none' for no resizing)

Return value

STRING

Link to the image. Empty string if a default record or non-image is passed