= $luxe['thumb_auto_insert_limit_height'] ) { $max_height = 'height:' . $luxe['thumb_auto_insert_limit_height'] . 'px;'; $padding_bottom = ''; } else { if( isset( $luxe['thumb_auto_insert_width'] ) && $luxe['thumb_auto_insert_width'] === 'orign' ) { $padding_bottom = 'padding-bottom:' . $sizes[1] . 'px;'; $background_size = 'auto'; } else { $padding_bottom = 'padding-bottom: calc(' . $sizes[1] . '/' . $sizes[0] . '*100%);'; } } $load .= <<ID, &$_is, &$luxe ) );