added setnavbarimage fn