convert all the image files(including sub folders) to base64 code prefixed with corresponding data:image/XXX;base64, head