Crawler fix image search

This should fix the crawler image search, don't know why it failed, but the code seemed unnecessarily complicated