fixed bug where clicking on images tried to open them as videos
updated .gitignore