Example #1
0
 public function init(Mage_Catalog_Model_Product $product, $attributeName, $imageFile = null)
 {
     if ($this->_isEnabled()) {
         $this->_configuration = $this->_getConfigHelper()->buildConfiguration();
         $this->_dimensions = Dimensions::null();
         $this->_attributeName = $attributeName;
         $this->_imageProvider = CloudinaryImageProvider::fromConfiguration($this->_configuration);
     }
     return parent::init($product, $attributeName, $imageFile);
 }