if global.itemSync image_index = 0 else image_index = 1