From 11501ebed7e98c6ecfae18f2ae9ceac9e25b1afe Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 30 May 2023 12:10:26 +0200 Subject: [PATCH] wait #5960 @0.75 --- src/Links/ImageLink.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ''; -- 2.39.5