Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all,
I am using Colorbox in conjunction with Media Galleries and setting it to size the images to 500px max in width / high, but is has absolutely no influence - the images are being shown in their full size. I have also tried % and just units - same result.
Ideally i would like to make the width/hight adaptive to the screen size, like in Shadowbox - is that possible? It must be a feature, as it helps when you are building an adaptive site for several devices.
Any help would be greatly appreciated.
Comment | File | Size | Author |
---|---|---|---|
colorbox.jpg | 62.39 KB | von_stirliz |
Comments
Comment #1
frjo CreditAttribution: frjo commentedI have not tested "Media Galleries" but with standard image fields the width/hight is adaptive to the screen size be default.
Test a standard image field and have a look at what is different.
Comment #2
frjo CreditAttribution: frjo commented