Assign tags to a file to enable tags functionality. As a result, you will be able to create a gallery by indicating tags assigned to the files as well as enable search by tag functionality.