Modify index gallery