GetCachedWRDImageURL (open)

Get a link to a (resized) image in WRD

Syntax

LOADLIB "mod::wrd/lib/api.whlib";

STRING FUNCTION GetCachedWRDImageURL(STRING baseurl, INTEGER64 imageid, RECORD scalemethod)

Parameters

STRING baseurl

Base url for links. If left empty, the link will start with "/.uc/"

INTEGER64 imageid

Setting id of the file

RECORD scalemethod

Image processing method

Return value

STRING

URL for the file