Wijmo UI for the Web
autoSize Option
wijmo.lightbox.wijlightbox Namespace > options type : autoSize Option

Default value: true

A value determines whether to auto-size to keep the original width/height ratio of content.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijlightbox("option", "autoSize");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijlightbox("option", "autoSize", newValue);
        
});
var autoSize : boolean;
Example
$("#id").wijlightbox({
     autoSize: false
 });
See Also

Reference

options type
wijlightbox jQuery Widget