.. _flightgallery: ####################################################### ``lightgallery`` — Display lightGallery media viewer. ####################################################### .. versionadded:: 3.1 :doc:`View-related functions ` ******* Summary ******* .. include:: /Reference/libraries/globals/summary/lightgallery.rst .. php:function:: lightgallery($files) Display lightGallery media viewer. Only filetypes supported by the lightGallery will be included; use lightgallery_other_files to list links to other files not supported in the gallery. :type $files: array :param $files: Array of files to display :returns: string HTML ***** Usage ***** .. include:: /Reference/libraries/globals/usage/lightgallery.rst ******** Examples ******** .. include:: /Reference/libraries/globals/examples/lightgallery.rst ******** See Also ******** .. include:: /Reference/libraries/globals/see_also/lightgallery.rst