Added image retrieval method