How to add colorbox in views gallery
Install and enable colorbox module. And add place colorbox library in sites/all/library and rename folder to colorbox  


Goto to admin/structure/views
Click edit on your views, here my view name is "Colorbox"





Click on your image field, eg., content:Image





select Formatter as colorbox and click "apply"





Save the view and clear the cache.


Hope it works