fix config, gitignore and new path for img cache