These samples demonstrate the use of oCol:aImgRect and oBtn:aBmpRect. In the first sample the shapes and sizes change dynamically which can not be shown in a screenshot. Only way is to build the sample and run the exe.
fwh\samples\xbrimag2.prg

fwh\samples\xbrimag3.prg

Also please see viewtopic.php?f=3&t=33235 for composing text and image in the same cell.