add gallery style.