fit images with thumb

info's Avatar

info

14 Jun, 2018 04:13 PM

Hello,
we have an issue when using fit with controlNavigation='thumbnails'. It seems that the thumbnails bar height is not included when calculating the image ratio.
Attached a project example with 2 html files with the same options: the only difference is thumbnails bar.
My goal is that with the bars the images fill the container perfectly as with no bar version.

Thank you for your support.

  1. Support Staff 1 Posted by Dmitry Semenov on 15 Jun, 2018 04:35 AM

    Dmitry Semenov's Avatar

    Hello,

    To prevent thumbnails from reducing the height of the viewport, disable thumbnails optionfitInViewport`:

    thumbs: {
      fitInViewport: false
    }
    

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • test.zip 402 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? 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