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.
Supported from version: 1.0.0.0
cssClassTop
string cssClass
Get or set the css class for small image.
Supported from version: 1.0.0.0
descriptionTop
string description
Get or set text description for big image
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
Supported from version: 1.0.0.0
frameNumberTop
int frameNumber
Get or set number of frames rendering when imageview opens or closes
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.
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" :
Supported from version: 1.0.0.0
relativeLeftTop
int relativeLeft
Get or set left postion of zoompanel relative to small image
Supported from version: 1.0.0.0
relativeTopTop
int relativeTop
Get or set top postion of zoompanel relative to small image
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.
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.
Supported from version: 1.0.0.0
styleFolderTop
string styleFolder
Get or set folder which contain css style for KoolImageView.
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.
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.
Supported from version: 1.2.0.0
RegisterScriptTop
string RegisterScript()
Return html to register js library for KoolImageView.
Supported from version: 1.0.0.0
RegisterCSSTop
string RegisterCSS()
Return html to register CSS for KoolImageView
Supported from version: 1.0.0.0
RenderUploaderTop
string RenderUploader()
Return html content of KoolImageView body
Supported from version: 1.0.0.0
StartupScriptTop
string StartupScript()
Return js code to inititate KoolImageView
Supported from version: 1.0.0.0