Interim code for Image Retrieval in NewBlocstagram