There is an error in "tjpoe at cableaz dot com" 's function ImageStringWrap. Instead of
else
$string = $text;
there should be
else
$string = array($text);
for function to work for strings with only one word. Otherwise it works like a charm, thanks.