Batch rename

Searches all *.jpg files in selected directory  and renames them based
on the name of the containing folder.

Naming: folder_name#.jpg