add gallery option type
clean up docs