WordPress.org

Ready to get started?Download WordPress

Forums

Lightbox Plus Colorbox
Resize Image To Fit User's Screen (2 posts)

  1. jbayout
    Member
    Posted 8 months ago #

    Hi. My images are usually 1024x1024 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!

    http://wordpress.org/plugins/lightbox-plus/

  2. chibichiii
    Member
    Posted 7 months ago #

    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!

Reply

You must log in to post.

About this Plugin

About this Topic