Add images generating function
change .gitignore