Lines Matching refs:height
201 $height = $info[1];
203 $height = round(($width * $info[1]) / $info[0]);
207 $height = $height * ($maxwidth/$width);
210 if ($maxheight && $height > $maxheight) {
211 $width = $width * ($maxheight/$height);
212 $height = $maxheight;
217 if ($height) $height = (($height/96.0)*2.54);
219 return array($width, $height);
230 * @param string|null $height Alternative height
235 …public static function getImageSizeString($src, $width = NULL, $height = NULL, $preferImage=true, … argument
246 $height = $height_file.'cm';
251 $unit_height = $units->stripDigits ($height);
254 if (!$height) {
255 $height = $width * $ratio;
257 $height = (($height/96.0)*2.54).'cm';
265 $height = str_replace(',', '.', $height);
266 if ($width && $height) {
270 $height = $height.'" style:rel-height="scale';
273 $height = $height;
280 if (!$height) {
281 $height = '" svg:rel-height="100%';
284 return array($width, $height);