From e5882233de726b11bfdc915399cee6aab1fd3fc5 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 24 Jul 2025 16:40:28 +0200 Subject: [PATCH] . --- src/Links/ContentLink.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Links/ContentLink.php b/src/Links/ContentLink.php index a16d6b3..0f1be6b 100644 --- a/src/Links/ContentLink.php +++ b/src/Links/ContentLink.php @@ -28,6 +28,7 @@ class ContentLink extends Link $res .= ' data-rollover-hide '; } if ($this->allowsAnimation) { + $animations = self::parseAnimations($this->image_rollover ?? 'none'); foreach ($animations as $animation) { if (isset($animation['quality']) && property_exists($this, 'maxzoom_default')) { @@ -144,7 +145,7 @@ class ContentLink extends Link protected function _isHiddenFirst($animations) { - $hiddenAnimations = ['reveal', 'fadein', 'translatefrom','keephidden']; + $hiddenAnimations = ['reveal', 'fadein', 'translatefrom', 'keephidden']; foreach ($animations as $animation) { if (isset($animation['type']) && in_array($animation['type'], $hiddenAnimations)) { return true; -- 2.39.5