list all image in a folder to create json or xml file