Created a reasonably good method for selecting images to associate with products