add function fot getting small image for displaying on tree