/** * @param string $target * * @return string */ public function ACLazyImage($attributes) { return Ajde_Component_Image::processStatic($this->getParser(), array_merge($attributes, ['lazy' => true])); }
/** * * @param string $target * @return string */ public function ACImage($attributes) { return Ajde_Component_Image::processStatic($this->getParser(), $attributes); }
public function displayAvatar($width = 90, $class = '') { if ($this->hasNotEmpty('avatar')) { return Ajde_Component_Image::getImageTag(AVATAR_DIR . $this->getAvatar(), $width, $width, true, $class); } else { return $this->displayGravatar($width, $class); } }