KCML_Image_MakeURL
Purpose
Map filename to url for use on Browser Client
Definition
DEFSUB 'KCML_Image_MakeURL(filename$, BYREF Url$) AS Bool
Parameters
| filename | Full path name of image |
| Url | Relative URL to use in the client |
Return
TRUE if the function succeeds. This functon will always return FALSE if running on KClient.
Description
Perfoms the same operation for images as used by the form system. Given the filename of an image this will provide a Url that can be used for the image on Widgets. The function will create a link to the image in the images directory of the apache setup and make sure the image is acccessible by the apache user. Any environment variable expressed using the $ notation will be exapnded
See also
Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.