tweaking gallery settings