Support for reading of custom icon images from toc elements