iviewer show , zoom and rotate images

This extension use from jquery iviewer plugin and it's show images with zoom and rotate

Requirements

tested on yii 1.15 ; may works well with previous version .

Usage

download it , and extract it to protected/extensions dir , then in your view file use it as other standard CWidget class .

this widget create zoom and rotate in a div for your image, you can use it in your view file like this:

$this->widget('ext.iviewer.iviewer', array(
    'jsHandlerVar' => 'myvar', //you can name a variable in  js for handle iviwer
    'selector' => '#iviewer-content',
    'options'=> array(
        'src'=>Yii::app()->request->baseUrl.'/images/'.$data->file_name, // your image address
    )
    ));

<div id="iviewer-content"></div>

Resources

if it`s useful for you like it.

create by hooman mirghasemi

هومن میرقاسمی

  1. Requirements
  2. Usage
  3. Resources
0 0
1 follower
364 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: hooman.programmer
Created on: Oct 10, 2014
Last updated: 3 years ago

Downloads

show all

Related Extensions