added the image uploade and show mechanism