]> _ Git - cubeextranet.git/commitdiff
wait #5420
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 30 Aug 2022 13:07:39 +0000 (13:07 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 30 Aug 2022 13:07:39 +0000 (13:07 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index 3c0e63898d5de9303387a1af06865ca29d4a03f4..e2947d05803a3f3d97d653fde21cc9f7c995aa67 100644 (file)
@@ -1921,7 +1921,11 @@ class imageLink extends contentLink
 
     public function getHTMLContent()
     {
-        return '<img src="' . $this->getImageUrl() . '" />';
+        if (stristr($this->image_rollover, 'type=zoom')) {
+            return '<div class="img" style="background-image:url(' . $this->getImageUrl() . ');"></div>';
+        } else {
+            return '<img src="' . $this->getImageUrl() . '" />';
+        }
     }
 }