getProduct(); $_helper = $this->helper('catalog/output'); $setting = Mage::helper('themeframework/settings'); $viewmode = $setting->getProductDetail_Viewmode(); ?> getImage() != 'no_selection' && $_product->getImage()): ?>
helper('catalog/image')->init($_product, 'image'); $_img2 = clone $_img; $config = "zoomWidth: ".min($setting->getProductDetail_CloudZoomWidth(500), $_img->getOriginalWidth()).","; $config .= "zoomHeight: ".min($setting->getProductDetail_CloudZoomHeight(500), $_img->getOriginalHeight()).","; $config .= 'adjustX: 10, adjustY:-4,'; $config .= "position: 'inside'"; if($_img->getOriginalWidth() >= 320) $w = $setting->getProductDetail_BaseImageWidth(320); else $w = $_img->getOriginalWidth(); $ratio = $w / $_img->getOriginalWidth(); $h = $ratio * $_img->getOriginalHeight(); ?>
getProductDetail_BaseImageWidth(320); $h = $setting->getProductDetail_BaseImageHeight() ? $setting->getProductDetail_BaseImageHeight() : null; $_img = ''; echo $_helper->productAttribute($_product, $_img, 'image'); ?>
__('Double click on above image to view full picture') ?>
helper('catalog/image')->init($_product, 'image')->resize( $setting->getProductDetail_BaseImageWidth(320), $setting->getProductDetail_BaseImageHeight()).'" alt="'.$this->escapeHtml($this->getImageLabel()).'" title="'.$this->escapeHtml($this->getImageLabel()).'" />'; echo $_helper->productAttribute($_product, $_img, 'image'); ?>