maskedimage Now it's easy to create masked image with this user friendly extension.

  1. Requirements
  2. Usage
  3. Resources

Mask your image with different shapes and dimension. More option coming in future.

Requirements

-Developed and tested with Yii 1.1.12 but may working with older versions too. -PHP GD library enabled.

Usage

Extract the source file into protected/extensions folder.

Simply put this below widget in view file:

$this->widget('ext.imagemask.ImageMask', array(
    'shape' => 'round',
	'imgpath' => Yii::app()->basePath.'/../images/mango.jpg',
	'width' => '200',
	'height' => '200',
	'title' => 'Sample Image',
    ));

Available shape: round, roundedsquare, polygon, oval.

Resources

...external resources for this extension...

1 0
9 followers
357 downloads
Yii Version: Unknown
License: BSD-2-Clause
Category: Others
Developed by: Robiul
Created on: May 29, 2013
Last updated: 11 years ago

Downloads

show all

Related Extensions