Add 'id' in detail mode and change to 'id' in thumbnail mode