Doing it that way, yes it needs to be on the img tag - but you should be able to just do
Code:
text = "<span style='vertical-align:middle;'>" + Canvas.imgHTML(path) + " " + title + "</span>";
Comment