WordPress.org

Ready to get started?Download WordPress

Forums

WP jQuery Lightbox
how to get max image size in lightbox (1 post)

  1. rmblfish
    Member
    Posted 4 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic