Lines Matching refs:h
239 $originalheight = $h = (int) tpl_img_getTag('File.Height');
244 if ($w >= $h) {
247 } elseif ($maxheight && $h > $maxheight) {
248 $ratio = $maxheight / $h;
251 if ($maxheight && $h >= $maxheight) {
252 $ratio = $maxheight / $h;
260 $h = floor($ratio * $h);
268 'h' => floor($ratio * $originalheight),
371 <?php echo iconify('mdi:image-size-select-large'); ?> <?php echo tpl_getLang('preview_size') ?>: <a href="<?php echo ml($IMG, array('cache' => $INPUT->str('cache'), 'rev' => $REV, 'w' => $w, 'h' => $h), true, '&'); ?>"><?php echo $w; ?> × <?php echo $h; ?></a> pixels.
372 <?php echo tpl_getLang('other_resolutions') ?>: <?php foreach ($other_sizes as $size): ?> <a href="<?php echo ml($IMG, array('cache' => $INPUT->str('cache'), 'rev' => $REV, 'w' => $size['w'], 'h' => $size['h']), true, '&'); ?>" title="<?php echo floor($size['ratio'] * 100); ?>%"><?php echo $size['w']; ?> × <?php echo $size['h']; ?></a> pixels <?php endforeach; ?>