title; $url = $this->url; $size = $this->size; $alt = $this->alt; $float = \in_array($this->float, ['left', 'right', 'none'], true) ? $this->float : ''; $style = $float ? " float:" . $float . ";" : ''; $canLink = isset($this->canLink) ? $this->canLink : true; echo $this->subLayout('Widget/Lightbox'); $config = KunenaConfig::getInstance(); $attributesLink = $config->lightbox ? ' data-fancybox="gallery"' : ''; $width = $size ? (int) $size . "px;" : 'auto '; $attributesImg = ' style="max-height: ' . (int) $config->imageHeight . 'px;' . ' max-width:' . $width . $style . '"'; $attributesImg .= $alt ? ' alt="' . htmlspecialchars($alt) . '"' : ''; // The address is chosen by the member who wrote the message: the server never requests it (it would reach any host the server // can reach, at every view of the page). The browser of the reader loads the image, and shows the alt text when it is missing. ?>