}
// Slide image is in a separate absolutely positioned div to allow it to be animated with the scale function
- $bgc=CubeIT_Graphics_Color::colorToCSS($slide['overlay'], $slide['overlayOpacity']);
+ $bgc=CubeIT_Graphics_Color::colorToCSS($slide['overlay'], $slide['overlayOpacity']/100);
$image_attributes['style'] = 'background-image:url("' . CubeIT_View_Helper_ImageCms::getPath($slide['image']) . '");background-color:'.$bgc.';';
$image_attributes['class'] = 'slide-bg';
$slide_image = $this->view->htmlElement('', 'span', $image_attributes); // making it a span because of existing CSS that affects all divs in this context