getStore()->getId()); ?>
getSlides();
foreach($slides as $s) {
$style = $content = '';
$attr = 'data-img-height="0"';
if ( !empty($s['image']) ) {
$imgSize = getimagesize(Mage::getBaseDir('media') .'/'. $s['image']);
if ($imgSize) {
$style = "background:url('". Mage::getBaseUrl('media') . $s['image'] . "') 50% 0 no-repeat;";
$attr = 'data-img-height="'.$imgSize[1].'"';
}
}
if ( !empty($s['slide_width']) ) {
$content = 'style="width:'.$s['slide_width'].'px;"';
}
?>
- >