Hi Karl,
How can I hide the detail information (exif and so on) permanently while viewing pictures or photos? There is only a lock icon which can be used to pin the details but no way to remove them. Thanks.
You want to hide the entire caption? That can be done with Javascript config. Create a file _files/js/custom.js and add the following:
_files/js/custom.js
_c.config = { popup: { captionEl: false } }
Alternatively, you could use custom CSS to show/hide certain items in the caption.
Thanks for the reply. I tried to copy all the default options from https://www.files.gallery/docs/javascript-config/ and changed the popup -> captionEl from true to false but it didn't work. Then when I try your code with only popup options and it works fine now.