wordpress/wp-content/themes/basic/themify/customizer/class-themify-customizer.php
/**
		 * Outputs image width and height for the logo/description image if they are available.
		 *
		 * @param string $mod_name
		 * @return string
		 */
Outputs image width and height for the logo/description image if they are available.
@param string $mod_name
@return string
Outputs image width and height for the logo / description image if they are available . @param string $mod_name @return string
function build_image_size_rule($mod_name, $device=null) {
			$element = json_decode($this->get_cached_mod($mod_name),true);
			$element_props = '';
			if ($device && isset($element[$device])) {
				$element = $element[$device];
			}
				if (!empty($element['imgwidth'])) {
					$element_props = "\twidth: {$element['imgwidth']}px;";
				}
				if (!empty($element['imgheight'])) {
					$element_props .= "\n\theight: {$element['imgheight']}px;";
				}
			return $element_props;
		}
function build_image_size_rule ( $ mod_name , $ device = null ) { $ element = json_decode ( $ this -> get_cached_mod ( $ mod_name ) , true ) ; $ element_props = '' ; if ( $ device && isset ( $ element [ $ device ] ) ) { $ element = $ element [ $ device ] ; } if ( ! empty ( $ element [ 'imgwidth' ] ) ) { $ element_props = " \t width:  { $ element [ 'imgwidth' ] } px; " ; } if ( ! empty ( $ element [ 'imgheight' ] ) ) { $ element_props .= " \n \t height:  { $ element [ 'imgheight' ] } px; " ; } return $ element_props ; }
Outputs image width and height for the logo/description image if they are available.
Outputs image width and height for the logo / description image if they are available .
// if (isset($element->mode) && $element->mode == 'image') { // }