Lines Matching refs:attributes
77 $attributes = $this->mediaMarkup->getExtraMediaTagAttributes()
89 $attributes->addClassName(self::RESPONSIVE_CLASS);
120 $attributes->addOutputAttributeValue("height", $targetHeight . $htmlLengthUnit);
124 $attributes->addStyleDeclarationIfNotSet("max-height", $targetHeight . $cssLengthUnit);
128 $attributes->addStyleDeclarationIfNotSet("height", "auto");
164 $attributes->addOutputAttributeValue("width", $targetWidth . $htmlLengthUnit);
168 $attributes->addStyleDeclarationIfNotSet("max-width", $targetWidth . $cssLengthUnit);
172 $attributes->addStyleDeclarationIfNotSet("width", "100%");
269 $attributes->addOutputAttributeValue("src", $srcValue);
272 $attributes->addOutputAttributeValue("srcset", $srcSet);
274 $attributes->addOutputAttributeValue("loading", "lazy");
282 $attributes->addClassName(self::getLazyClass());
283 $attributes->addClassName(LazyLoad::getLazyClass());
298 $attributes->addOutputAttributeValue("src", $srcValue);
299 $attributes->addOutputAttributeValue("srcset", LazyLoad::getPlaceholder($targetWidth, $targetHeight));
306 $attributes->addOutputAttributeValue("data-sizes", $sizes);
307 $attributes->addOutputAttributeValue("data-srcset", $srcSet);
314 $attributes->addOutputAttributeValue("data-src", $srcValue);
315 $attributes->addOutputAttributeValue("src", LazyLoad::getPlaceholder($targetWidth, $targetHeight));
318 LazyLoad::addPlaceholderBackground($attributes);
326 $attributes->addOutputAttributeValue("srcset", $srcSet);
327 $attributes->addOutputAttributeValue("sizes", $sizes);
329 $attributes->addOutputAttributeValue("src", $srcValue);
338 $attributes->addOutputAttributeValueIfNotEmpty("alt", $this->getAltNotEmpty());
343 $htmlAttributes = $attributes->toHTMLAttributeString();