create image in TopBar class