$('#gallery2').rebox({ selector: 'a' });