To do something like this without a lot of manual labor, you'd need a database of images, which I don't think exists. But if you already know which files go where, it's not quite what you're looking for, but I used to use Ant Renamer when I spent a lot of time on Windows.