add .gitignore files to maintain images and thumbnails directories