Unfortunately, you can’t, for a variety of reasons. Firstly, most platforms don’t provide the EXIF information via their API (e.g. Google). Secondly, most lightbox scripts don’t support the display of EXIF information in their output.
thanks for the amazing reply and for the amazing plugin, smugmug provide exif data and the js swipebox should be compatible. Any idea about how to integrate?
If you see the documentation for Swipebox (https://brutaldesign.github.io/swipebox/), there is no provision for displaying EXIF. Please note that you cannot add EXIF data to the title display of the lightbox, as it will impact your site’s accessibility and SEO, and will also impact tooltips and other display elements. Basically, a lightbox will need to offer a dedicated location to show EXIF data, otherwise you will have to use the title/alt elements, which will impact your site adversely.