How to show files with lighbox/colorbox effect? My goal is to create a gallery of all media of the site. I created a views-page of type file with bootstrap grid format that displays all file type of my site (File: Mime type (has word jpeg jpg png gif YouTube)).

My first problem is to get lightbox or Colorbox to display the file on click on the page. Is there any way I can get lichtbox in code (css, function,...) or views showing only file.(Note I'm not using fields but file). That mean when I'm on the views-created page, I can click on any file(image or video) and it react with lightbox overlay.

The second one is to remove certain content type files from the views display. (I don't want user profile images to be displayed or private files). 

Thirdly, i want to create a menu to sort the file per type(image, audio, images, and taxonomy terms.) Maybe there is a good tutorial for this on google. I couldn't find anyone, ;)
My first problem is to get lightbox or Colorbox to display the file on click on the page
  


For this you need to set either lightbox or colorbox module. Once you install and enable the site you will see the option in file field to show the file in lightbox.


  
    he second one is to remove certain content type files from the views display
  


Add a filter criteria File Usage: Entity type or File Usage: Entity Id and exclude user entity.


  
    Thirdly, i want to create a menu to sort the file per type
  


For this you need to add a sort criteria based on your File:Mime Type