Image retrieval now working