I'm working in a content based image retrieval php project.The user should upload an image to retrieve images similar to it . I need to display the query image without saving it in database. I tried two different ways to do that but it didn't work. The image appear as image icon.I'm working in a content based image retrieval