Photoshop has always been very good in terms of automation. Here's how to start batch processing:
Go to File->Automation->Web Photo Gallery and change the settings to your liking. Click on Source:Choose and tell it where the images are.
If you need more customization then just go to File->Automation and choose the first item in the list.