1. Bogdan Savluk
  2. yii-image

Commits

Bogdan Savluk  committed e093480

stop using yii aliases

  • Participants
  • Parent commits a430dbf
  • Branches default

Comments (0)

Files changed (3)

File CImageComponent.php

View file
  • Ignore whitespace
 <?php
 
-Yii::import('application.extensions.image.Image');
 
 /**
  * Description of CImageComponent

File Image.php

View file
  • Ignore whitespace
 <?php
 
-Yii::import('ext.image.Image_Driver');
+require 'Image_Driver.php';
+require 'drivers/Image_GD_Driver.php';
+require 'drivers/Image_ImageMagick_Driver.php';
 
 /**
  * Manipulate images using standard methods such as resize, crop, rotate, etc.

File drivers/Image_ImageMagick_Driver.php

View file
  • Ignore whitespace
         return array_slice(getimagesize($this->tmp_image), 0, 2, FALSE);
     }
 
+    public function watermark($params)
+    {
+        // TODO: Implement watermark() method.
+    }
 } // End Image ImageMagick Driver