Changed API for image retrieval methods