// Image will be cropped to 900px wide so ensure that we have 45% extra and then determine the target height\r
$target_height = ($mobile_max_width / 0.55) * $image_ratio;\r
\r
- if (stripos($image_path, '.oam') !== false) {\r
+ if (stripos($image_path, '.oam') !== false || stripos($image_path, '.zip') !== false) {\r
if (!isset($data['backgroundmobileimage'])) {\r
$pict = $this->view->imageCms($image_path);\r
} else {\r
}\r
\r
function resize_oam() {\r
- $('iframe.oam').each(function () {\r
+ $('iframe.oam,iframe.zip').each(function () {\r
var p = $(this).parent();\r
var pw = $(p).outerWidth();\r
var ph = $(p).outerHeight();\r
width: 100%;\r
height: 100%;\r
\r
- iframe.oam {\r
+ iframe.oam, iframe.zip {\r
position: absolute;\r
}\r
}\r
}\r
}\r
\r
- iframe.oam {\r
+ iframe.oam, iframe.zip {\r
overflow: hidden;\r
pointer-events: none;\r
transform-origin: 0 0 0;\r