Making image retrieval actually work and display