Piwigo / piwigo-bootstrap-darkroom

A mobile-ready and feature-rich theme for Piwigo photo gallery, based on Bootstrap 4
Apache License 2.0
81 stars 40 forks source link

EXIF Data in one row / hide "show exif data" button? #361

Open reox opened 11 months ago

reox commented 11 months ago

I want to display the (to me) four most important specs of a photo: Aperture, Focal Length, Shutter Speed and ISO. However, the theme is designed to only have three values next to each other using the col-sm-4 class: https://github.com/Piwigo/piwigo-bootstrap-darkroom/blob/83b6ad42ca30565a25752c48f13529eb09b1e434/template/picture_info_cards.tpl#L242-L276

But if you change it to col-sm-3, you get all the quantities next to each other: image

Would it be an option to change this in the template? Of course, if you add exposure bias and flash, it will look odd and the 2x3 is then the better option. Of course, an awesome solution would be to check whenever 4 or 6 items are to be displayed and then use either a 3 or 4 column width.

Another thing is the button: If you restrict piwigo to the basic EXIF data, there is not much more to see in this button, just duplicated information. Thus an option to hide the button would be awesome as well!