finish the function of accessing jpeg
modify gitignore file