Added many image retrieval functions