GetCachedFSImageURL

Get the URL to a (resized) image file

Syntax

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

STRING FUNCTION GetCachedFSImageURL(STRING baseurl, INTEGER fsobjectid, RECORD scalemethod)

Parameters

STRING baseurl

Base URL for the returned cache url (leave empty for a /.system/dl/... or //cdnroot/.system url)

INTEGER fsobjectid
RECORD scalemethod

Resizing method, if any

Return value

STRING