gallery modification