Updated config for gallery