Added title_mode to display image, text or both in title