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

  • zpMutex

Functions

  • accessAllAlbums
  • adminToolbox
  • albumNumber
  • build_query
  • build_url
  • checkAccess
  • checkForGuest
  • checkInstall
  • checkPageValidity
  • debugLog
  • exitZP
  • exposeZenPhotoInformations
  • filterImageQuery
  • get_filterScript
  • getAlbumArray
  • getAlbumBreadcrumb
  • getAlbumCustomData
  • getAlbumData
  • getAlbumDate
  • getAlbumDesc
  • getAlbumFolder
  • getAlbumInherited
  • getAlbumLocation
  • getAlbumPage
  • getAlbumThumb
  • getAlbumTitle
  • getAlbumURL
  • getAllAccessibleAlbums
  • getAllAlbums
  • getAllDates
  • getAllowedTags
  • getAnnotatedAlbumTitle
  • getAnnotatedImageTitle
  • getBareAlbumDesc
  • getBareAlbumTitle
  • getBareGalleryDesc
  • getBareGalleryTitle
  • getBareImageDesc
  • getBareImageTitle
  • getCodeblock
  • getCurrentPage
  • getCurrentTheme
  • getCustomAlbumThumb
  • getCustomAlbumThumbMaxSpace
  • getCustomImageURL
  • getCustomPageURL
  • getCustomSizedImageMaxSpace
  • getCustomSizedImageThumbMaxSpace
  • getDefaultHeight
  • getDefaultSizedImage
  • getDefaultWidth
  • getFullHeight
  • getFullImageURL
  • getFullWidth
  • getGalleryDesc
  • getGalleryIndexURL
  • getGalleryTitle
  • getHeadTitle
  • getImageArgs
  • getImageCacheFilename
  • getImageCachePostfix
  • getImageCity
  • getImageCountry
  • getImageCustomData
  • getImageData
  • getImageDate
  • getImageDesc
  • getImageLocation
  • getImageMetaData
  • getImageParameters
  • getImageProcessorURI
  • getImageState
  • getImageThumb
  • getImageTitle
  • getImageURI
  • getImageURL
  • getMainSiteName
  • getMainSiteURL
  • getMaxSpaceContainer
  • getNextAlbum
  • getNextAlbumURL
  • getNextImageThumb
  • getNextImageURL
  • getNextPageURL
  • getNumAlbums
  • getNumImages
  • getOption
  • getOptionList
  • getPageNavList
  • getPageNumURL
  • getPageRedirect
  • getParentAlbums
  • getParentBreadcrumb
  • getPasswordProtectImage
  • getPrevAlbum
  • getPrevAlbumURL
  • getPrevImageThumb
  • getPrevImageURL
  • getPrevPageURL
  • getProtectedImageURL
  • getRandomImages
  • getRandomImagesAlbum
  • getRequestURI
  • getSearchDate
  • getSearchURL
  • getSearchWords
  • getSiteHomeURL
  • getSizeCustomImage
  • getSizeDefaultImage
  • getSizeDefaultThumb
  • getSizedImageURL
  • getSizeFullImage
  • getSuffix
  • getTags
  • getTotalImagesIn
  • getTotalPages
  • getUnprotectedImageURL
  • getVersion
  • getWatermarkParam
  • getWatermarkPath
  • hasDynamicAlbumSuffix
  • hasNextImage
  • hasNextPage
  • hasPrevImage
  • hasPrevPage
  • imageNumber
  • imgSrcURI
  • installSignature
  • instrument
  • isAlbumPage
  • isArchive
  • isHandledAlbum
  • isImagePage
  • isLandscape
  • js_encode
  • loadLocalOptions
  • makeAlbumCurrent
  • makeImageCurrent
  • makeSpecialImageName
  • next_album
  • next_image
  • parse_query
  • parse_size
  • pathurlencode
  • print404status
  • printAlbumBreadcrumb
  • printAlbumCustomData
  • printAlbumData
  • printAlbumDate
  • printAlbumDesc
  • printAlbumLocation
  • printAlbumThumbImage
  • printAlbumTitle
  • printAlbumURL
  • printAllDates
  • printAllTagsAs
  • printAnnotatedAlbumTitle
  • printAnnotatedImageTitle
  • printBareAlbumDesc
  • printBareAlbumTitle
  • printBareGalleryDesc
  • printBareGalleryTitle
  • printBareImageDesc
  • printBareImageTitle
  • printCodeblock
  • printCustomAlbumThumbImage
  • printCustomAlbumThumbMaxSpace
  • printCustomPageURL
  • printCustomSizedImage
  • printCustomSizedImageMaxSpace
  • printCustomSizedImageThumbMaxSpace
  • printDefaultSizedImage
  • printGalleryDesc
  • printGalleryIndexURL
  • printGalleryTitle
  • printHeadTitle
  • printHomeLink
  • printImageCustomData
  • printImageData
  • printImageDate
  • printImageDesc
  • printImageMetadata
  • printImageThumb
  • printImageTitle
  • printImageURL
  • printNextPageURL
  • printPageList
  • printPageListWithNav
  • printPageNav
  • printParentBreadcrumb
  • printPasswordForm
  • printPrevPageURL
  • printRandomImages
  • printSearchBreadcrumb
  • printSearchForm
  • printSiteHomeURL
  • printSizedImageURL
  • printTags
  • printVersion
  • printZenJavascripts
  • printZenphotoLink
  • purgeOption
  • rewrite_get_album_image
  • rewrite_path
  • safe_glob
  • secureServer
  • setOption
  • setOptionDefault
  • setThemeColumns
  • stripSuffix
  • switchLog
  • themeSetup
  • zp_apply_filter
  • zp_filter_slot
  • zp_filter_unique_id
  • zp_has_filter
  • zp_register_filter
  • zp_remove_filter
  • zp_session_start
  • Overview
  • Package
  • Function
  • Tree
  • Deprecated

Function printCustomSizedImage

Print normal video or custom sized images. Note: a class of 'not_visible' or 'password_protected' will be added as appropriate

Notes on cropping:

The $crop* parameters determine the portion of the original image that will be incorporated into the final image. The w and h "sizes" are typically proportional. That is you can set them to values that reflect the ratio of width to height that you want for the final image. Typically you would set them to the fincal height and width.

Package: functions
Located at template-functions.php
Parameters summary
string $alt Alt text for the url
integer $size size
integer $width = NULL width
integer $height = NULL height
integer $cropw = NULL crop width
integer $croph = NULL crop height
integer $cropx = NULL crop x axis
integer $cropy = NULL crop y axis
string $class = NULL Optional style class
string $id = NULL Optional style id
boolean $thumbStandin = false set to true to treat as thumbnail
boolean $effects = NULL image effects (e.g. set gray to force grayscale)
Zenphoto doc API documentation generated by ApiGen