Added ability to query for matching images to the ImageModel.