/** * Returns the height of the default-sized image (in printDefaultSizedImage) * * @param $image object the image for which the size is desired. NULL means the current image * * @return int */ function getDefaultHeight($size = NULL, $image = NULL) { $size_a = getSizeDefaultImage($size, $image); return $size_a[1]; }
printHomeLink('', ' | '); } printGalleryTitle(); ?> </span> </div> </div> <!-- wrapnav --> </div> <!-- header --> <!-- The Image --> <?php $randomImage = getRandomImages($imageofday = getOption('effervescence_daily_album_image')); if ($randomImage) { makeImageCurrent($randomImage); $size = floor(getOption('image_size') * $imagereduction); $size_a = getSizeDefaultImage($size); $s = $size_a[0] + 22; $wide = " style=\"width:" . $s . "px;"; $s = $size_a[1] + 72; $high = " height:" . $s . "px;\""; } else { $wide = " style=\"width:332px;"; $high = " height:162px;\""; } if ($imageofday) { ?> <p align="center"> <?php echo gettext('Picture of the day'); ?> </p>
/** * Returns the height of the default-sized image (in printDefaultSizedImage) * * @return int */ function getDefaultHeight() { $size = getSizeDefaultImage(); return $size[1]; }