Home
last modified time | relevance | path

Searched refs:requestedHeight (Results 1 – 3 of 3) sorted by relevance

/plugin/combo/ComboStrap/
H A DFetcherImage.php30 protected ?int $requestedHeight = null; variable in ComboStrap\\FetcherImage
71 $requestedHeight = $this->getRequestedHeight();
72 $url->addQueryParameterIfNotPresent(Dimension::HEIGHT_KEY_SHORT, $requestedHeight);
112 $requestedHeight = $this->getRequestedHeight();
114 $requestedHeight = null;
116 if ($requestedWidth !== null || $requestedHeight !== null) {
124 return media_get_token($id, $requestedWidth, $requestedHeight);
149 $requestedHeight = $tagAttributes->getValueAndRemove(Dimension::HEIGHT_KEY);
150 if ($requestedHeight === null) {
151 $requestedHeight
500 setRequestedHeight(int $requestedHeight) global() argument
[all...]
H A DFetcherRaster.php229 $requestedHeight = $this->getRequestedHeight();
233 if ($requestedHeight > $mediaHeight) {
239 LogUtility::info("For the image ($this), the requested height of ($requestedHeight) can not be bigger than the intrinsic height of ($mediaHeight). The height was then set to its natural height ($mediaHeight)", self::CANONICAL);
328 $requestedHeight = parent::getRequestedHeight();
330 if ($requestedHeight > $intrinsicHeight) {
335 LogUtility::info("For the image ($this), the requested height of ($requestedHeight) can not be bigger than the intrinsic height of ($intrinsicHeight). The height was then set to its natural height ($intrinsicHeight)", self::CANONICAL);
338 return $requestedHeight;
H A DFetcherSvg.php888 $requestedHeight = $this->getRequestedHeight();
890 $requestedHeight = null;
1110 if ($requestedHeight !== null) {
1117 $heightInPixel = ConditionalLength::createFromString($requestedHeight)->toPixelNumber();
1119 LogUtility::msg("The requested height $requestedHeight could not be converted to pixel. It returns the following error ({$e->getMessage()}). Processing was stopped");
1549 if ($this->requestedHeight !== null) {