$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')) {
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;