From: vincent@cubedesigners.com Date: Wed, 10 Mar 2021 18:49:19 +0000 (+0000) Subject: wip #4253 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=0841c6617ec6a255ab9305853485b65f4130be93;p=cubeextranet.git wip #4253 @0.5 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 7c8cb6092..d8cadb163 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -584,6 +584,7 @@ class wsHTML5Compiler if ($link['type'] == '12' && isset($this->config->basketReferences[$link['to']])) { $this->config->basketReferences[$link['to']]['zoom_image'] = 'data/links/zoom_' . $link['uid'] . '.jpg'; $this->config->basketReferences[$link['to']]['zoom_url'] = base64_encode(file_get_contents($this->dir . '/data/links/zoom_' . $link['uid'] . '.jpg')); + $this->config->basketReferences[$link['to']]['zoom_image_ratio'] = $link['width'] / $link['height']; } }