Lines Matching defs:size
272 $data['size'] = (file_exists($file)) ? filesize($file) : 0;
286 $sizechange = 0 - $data['size'];
1085 $size = media_image_preview_size($image, $rev, $meta);
1087 if ($size) {
1099 $more['w'] = $size[0];
1100 $more['h'] = $size[1];
1104 echo '<img src="' . $src . '" alt="" style="max-width: ' . $size[0] . 'px;" />';
1181 * @param int $size
1184 function media_image_preview_size($image, $rev, $meta = false, $size = 500)
1195 if ($meta && ($w > $size || $h > $size)) {
1196 $ratio = $meta->getResizeRatio($size, $size);
1478 * @param string $size the size subfolder, if not specified 16x16 is used
1481 function media_printicon($filename, $size = '')
1485 if (file_exists(DOKU_INC . 'lib/images/fileicons/' . $size . '/' . $ext . '.png')) {
1486 $icon = DOKU_BASE . 'lib/images/fileicons/' . $size . '/' . $ext . '.png';
1488 $icon = DOKU_BASE . 'lib/images/fileicons/' . $size . '/file.png';
1606 * Returns the size uploaded files may have
1611 * @returns int size in bytes
1778 * Resizes or crop the given image to the given size
1787 * @return string path to resized or original size if failed
1821 * Resizes the given image to the given size
1829 * @return string path to resized or original size if failed
1837 * Center crops the given image to the wanted size
1845 * @return string path to resized or original size if failed