built out image retrieval handling.