Gallery with fullscreen - portrait images too small

garycwynne's Avatar


21 Nov, 2012 08:18 PM

Hi there,

When using Gallery with fullscreen layout, the height of royalSlider div is 600px. A typical portrait image I use is circa 675px tall. If I adjust the height of royalSlider to say, 700px, at certain smaller sizes, there are large areas at the top and bottom of the image inside the slider because the image has gone smaller but RoyalSlider has stayed the same height.

What is the best way to show the images at their largest possible size, yet still have RoyalSlider look OK on at certain mobile screen sizes?


  1. 1 Posted by garycwynne on 21 Nov, 2012 11:06 PM

    garycwynne's Avatar

    Ah - autoHeight: true,

    That was the answer! :)

  2. garycwynne closed this discussion on 21 Nov, 2012 11:06 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac