Overview

Packages

  • admin
  • classes
    • media
  • CodeIgniter
    • Libraries
  • core
  • functions
  • JSMin
  • None
  • OpenID
  • PHP
  • PHPMailer
  • plugins
    • admin
    • development
    • feed
    • mail
    • media
    • misc
    • seo
    • spam
    • uploader
    • users
    • zenpage
    • zenphoto
      • news
  • Services
    • JSON

Classes

  • AnyFile
  • AnyFile_Options
  • bxslider
  • colorbox
  • cycle
  • favoritesOptions
  • flag_thumbnail
  • image_effects
  • jcarousel
  • jPlayer
  • jplayer_options
  • slideshow
  • TextObject_Options
  • viewer_size_image_options
  • WEBdocs
  • WEBdocs_Options
  • xmpMetadata

Functions

  • get_AnyFile_suffixes
  • getFavoritesURL
  • getjPlayerSkinCSS
  • getjPlayerSkins
  • getViewerImageSize
  • printAddToFavorites
  • printFavoritesURL
  • printjPlayerPlaylist
  • printUserSizeImage
  • printUserSizeSelector
  • Overview
  • Package
  • Function
  • Tree
  • Deprecated

Function getViewerImageSize

returns the current values for the image size or its height & width This information comes form (in order of priority) 1. The posting of a radio button selection 2. A cookie stored from #1 3. The default (either as passed, or from the plugin option.)

The function is used internally, so the above priority determines the image sizing.

Package: plugins\media
Author: Stephen Billard (sbillard)
Located at zp-extensions/viewer_size_image.php
Parameters summary
string $default the default (initial) value for the image sizing
integer & $size The size of the image (Width and Height are NULL)
integer & $width The width of the image (size is null)
integer & $height The height of the image (size is null)
Zenphoto doc API documentation generated by ApiGen