public static function get_width_key( $width, $height, $timber_image ) {
		if ( 0 === (int) $width ) {
			/**
			 * Calculate image width based on image ratio and height. We need a rounded value
			 * because we will use this number as an array key and for defining the srcset size in
			 * pixel values.
			 */
			return (int) round( $timber_image->aspect() * $height );
		}

		return (int) $width;
	}