ez.no / exponential / documentation / reference / template operators / strings / wordtoimage
$input_string|wordtoimage()
string with embedded image tags.
The wordtoimage operator looks for special character sequences within the input string. These sequences are then replaced with image counterparts. For example, the smily sequence ":-)" is replaced by a small image of a smiling face. The sequences that should be replaced and the images that should replace the sequences are defined within the "wordtoimage.ini" configuration file.
{"Haha :-)"|wordtoimage}
By default, this would return "Haha " and a smily image instead of the ":-)".
Comments