Add viewUri function in image helper