implemented browse image to decode and displays the image