From: Vincent Vanwaelscappel Date: Tue, 30 May 2023 10:10:26 +0000 (+0200) Subject: wait #5960 @0.75 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=11501ebed7e98c6ecfae18f2ae9ceac9e25b1afe;p=fluidbook_tools.git wait #5960 @0.75 --- diff --git a/src/Links/ImageLink.php b/src/Links/ImageLink.php index 9edfada..9448e8e 100644 --- a/src/Links/ImageLink.php +++ b/src/Links/ImageLink.php @@ -21,13 +21,14 @@ class ImageLink extends ContentLink { $res = parent::getAdditionnalContent(); $res .= ' data-image="' . $this->getImageUrl() . '"'; - $res .= ' data-rollover="' . $this->rollover . '"'; + $res .= ' data-rollover="' . $this->image_rollover . '"'; return $res; } public function getHTMLContent() { - if (stristr($this->rollover, 'type=zoom')) { + // For zoomin & zoomout animations + if (stristr($this->image_rollover, 'type=zoom')) { return '
'; } else { return '';