add gallery config.js