KoolImageView Class [PHP]

Summary

Properties Description
backgroundOpacity Get or set background transparent level.
bigImageUrl Get or set url of big image
cssClass Get or set the css class for small image.
description Get or set text description for big image
effect Get or set the tranformed effect of ImageView.
frameNumber Get or set number of frames rendering when imageview opens or closes
id Get or set the id for KoolImageView.
imageUrl Get or set url of small image
openTime Get or set time duration to open ImageView
position Get or set position type for imagezoom
relativeLeft Get or set left postion of zoompanel relative to small image
relativeTop Get or set top postion of zoompanel relative to small image
scriptFolder Get or set folder which contain core file "koolimageview.php"
showLoading Get or set whether loading text/image will be shown when big image is loaded. By default showLoading has true value.
styleFolder Get or set folder which contain css style for KoolImageView.
zIndex Get or set zIndex layer for ImageView.
Methods Description
LoadXML Create KoolImageView with XML content.
Render Render the KoolImageView
RegisterScript Return html to register js library for KoolImageView.
RegisterCSS Return html to register CSS for KoolImageView
RenderUploader Return html content of KoolImageView body
StartupScript Return js code to inititate KoolImageView

Properties Detail

backgroundOpacityTop

string backgroundOpacity

Get or set background transparent level. The background will be disabled if you set backgroundOpacity to 0.

Show/Hide Code

Supported from version: 1.0.0.0

bigImageUrlTop

string bigImageUrl

Get or set url of big image

Show/Hide Code

Supported from version: 1.0.0.0

cssClassTop

string cssClass

Get or set the css class for small image.

Show/Hide Code

Supported from version: 1.0.0.0

descriptionTop

string description

Get or set text description for big image

Show/Hide Code

Supported from version: 1.0.0.0

effectTop

string effect

Get or set the tranformed effect of ImageView.

Allowed values :

  • "zooming" : Zooming effect
  • "fading" : Fading effect

Show/Hide Code

Supported from version: 1.0.0.0

frameNumberTop

int frameNumber

Get or set number of frames rendering when imageview opens or closes

Show/Hide Code

Supported from version: 1.0.0.0

idTop

string id

Get or set the id for KoolImageView. This id will be use as variable name of KoolImageView at client-side.

Show/Hide Code

Supported from version: 1.0.0.0

imageUrlTop

string imageUrl

Get or set url of small image

Show/Hide Code

Supported from version: 1.0.0.0

openTimeTop

int openTime

Get or set time duration to open ImageView

Show/Hide Code

Supported from version: 1.0.0.0

positionTop

string position

Get or set position type for imagezoom

Allowed values :

  • "SCREEN_CENTER" : Open big image in the center of screen
  • "IMAGE_CENTER" : Expand big image equally in all direction from small image
  • "RELATIVE" :

Show/Hide Code

Supported from version: 1.0.0.0

relativeLeftTop

int relativeLeft

Get or set left postion of zoompanel relative to small image

Show/Hide Code

Supported from version: 1.0.0.0

relativeTopTop

int relativeTop

Get or set top postion of zoompanel relative to small image

Show/Hide Code

Supported from version: 1.0.0.0

scriptFolderTop

string scriptFolder

Get or set folder which contain core file "koolimageview.php". Normally the path to script folder is automatically added, however in some cases you may need to set it manually.

Show/Hide Code

Supported from version: 1.0.0.0

showLoadingTop

bool showLoading

Get or set whether loading text/image will be shown when big image is loaded. By default showLoading has true value.

Show/Hide Code

Supported from version: 1.0.0.0

styleFolderTop

string styleFolder

Get or set folder which contain css style for KoolImageView.

Show/Hide Code

Supported from version: 1.0.0.0

zIndexTop

int zIndex

Get or set zIndex layer for ImageView. This property is helpful when you want to set ImageZoom above all of your elements in your page.

Show/Hide Code

Supported from version: 1.0.0.0

Methods Detail

LoadXMLTop

function LoadXML(string xml)

Create KoolImageView with XML content. The input value may be string or XmlDocument.

Show/Hide Code

Supported from version: 1.2.0.0

RenderTop

string Render()

Render the KoolImageView

Show/Hide Code

Supported from version: 1.0.0.0

RegisterScriptTop

string RegisterScript()

Return html to register js library for KoolImageView.

Show/Hide Code

Supported from version: 1.0.0.0

RegisterCSSTop

string RegisterCSS()

Return html to register CSS for KoolImageView

Show/Hide Code

Supported from version: 1.0.0.0

RenderUploaderTop

string RenderUploader()

Return html content of KoolImageView body

Show/Hide Code

Supported from version: 1.0.0.0

StartupScriptTop

string StartupScript()

Return js code to inititate KoolImageView

Show/Hide Code

Supported from version: 1.0.0.0