Support » Plugin: Lightbox Plus Colorbox » Resize Image To Fit User's Screen

  • Hi. My images are usually 1024×1024 pixels (with small 150px thumbnails of course). When the lightbox appears, can the image automatically scale to the user’s screen, so that if the user has a screen that’s, say, only 800px tall, the image will fit?

    How can I do this? Thanks!

Viewing 1 replies (of 1 total)
  • Hey JB,

    I had the same issue, it’s actually quite easy to fix in the Lightbox Plus Colorbox settings Primary Lightbox settings go to the Tab Size, you will find nearly at the bottom the text boxes Maximum Width and Maximum height. If you put 100% in the Maximum width the image will be scaled down to the max of your resolution can handle.

    It will do this for all your visitors as well, so that should fix your problem. Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Resize Image To Fit User's Screen’ is closed to new replies.