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

Adjust for height of image rather than width? #376

Open reox opened 2 months ago

reox commented 2 months ago

I have configured the default size of the images to fit the width of the whole available space, i.e., 1140px width. That works fine for most photos and on reasonable large display. Today I viewed my gallery on a very old laptop with only 1366×768px resolution and here I can typically only see a third of the photo's height. Thus, my question is: Is there an option to dynamically scale the photos by height and then by width?