WordPress.org

Support

Support » Plugins and Hacks » WP jQuery Lightbox » how to get max image size in lightbox

how to get max image size in lightbox

  • hej

    i am using nextgen gallery and your wp-jQuery-lightbox
    but my max size of uploaded image isnt showing, were can i change that? or what cs-file to hack?

    googled some answers but tried it n didnt work maybe wrong cs-file…

    regards

    -“You could just use css:

    #lightbox-container-image-box {
    max-width:970px; // Or your max-width
    }

    #lightbox-container-image img {
    max-width:950px; // (your max width – 20)
    }

    -“You need to specify the maxHeight and maxWidth against all calls of the lightbox()

    $(‘#gallery a’).lightBox( maxHeight: 700, maxWidth: 700);”

    https://wordpress.org/plugins/wp-jquery-lightbox/

  • The topic ‘how to get max image size in lightbox’ is closed to new replies.
Skip to toolbar