What do you mean on "and create unique posts for each image"?
I mean I want a script to take an image from a folder and then create a new post for it on my blog. I guess i will also need to provide a title for the post as well.
Where the title should be taken from?