adding git ignore and fixing multiple image issue