Monday, November 08, 2010 at 12:05 AM.
system.verbs.builtins.radio.macros.imageRef
on imageRef (imgname, usemap="", align="", hspace="", vspace="", alt="", height="", width="") {
<<Changes:
<<1/30/02; 12:25:11 PM by JES
<<Added optional height and width parameters.
<<1/28/02; 10:20:52 AM by DW
<<Added optional alt parameter, if non-empty, add an alt attribute to the image that's generated.
<<1/9/02; 1:48:25 PM by PBS
<<Respect user's pref for using file URLs.
local (pta = html.getpagetableaddress ());
local (flFileUrl = pta^.radioResponder.flSameMachine and user.radio.prefs.flUseFileUrls);
return (radio.images.imageRef (imgname, usemap, align, hspace, vspace, flFileUrl, alt, height, width))}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.