add image gallery config