In this article I will be explaining how to create a custom media gallery functionality using the library Fancybox.
First step is to create the content type 'Media Gallery(media_gallery)' and add the following fields in page 'admin/structure/types/manage/media_gallery/fields'