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

  • CI_jsmin
  • CI_load
  • codeIgniter_kludge
  • comment_form
  • contactformOptions
  • GoogleMap
  • hitcounter
  • jquery_rating
  • menu_manager
  • mobile
  • mobileTheme
  • multipleLayoutOptions
  • pagedThumbsNav
  • pagedthumbsOptions
  • print_album_menu
  • tagsuggest
  • TextObject
  • zenpagecms

Functions

  • addGeoCoord
  • checkChosenItemStatus
  • checkChosenMenuset
  • checkIfNew
  • checkLayoutUseForImages
  • checkParentLayouts
  • checkRequiredField
  • checkSelectedAlbum
  • copyLayoutSelection
  • createMenuIfNotExists
  • createRelatedItemsResultArray
  • deleteLayoutSelection
  • get_instance
  • getAlbumGeodata
  • getAlbumStatistic
  • getAllTagsFromAlbum
  • getAllTagsFromAlbum_multi_unique
  • getAllTagsFromZenpage
  • getCurrentMenuItem
  • getField
  • getGeoCoord
  • getHitcounter
  • getImageGeodata
  • getImageStatistic
  • getItem
  • getItemTitleAndURL
  • getLayout
  • getLayoutSelector
  • getMenuFromLink
  • getMenuItemChilds
  • getMenuItems
  • getMenumanagerPredicessor
  • getMenumanagerSuccessor
  • getMenuVisibility
  • getNewsArchiveURL
  • getNewsIndexURL
  • getNumAllSubalbums
  • getParentMenuItems
  • getRating
  • getRelatedItems
  • getSelectedLayout
  • inventMenuItem
  • layoutSelector
  • layoutSelector_album
  • log_message
  • menu_admin_toolbox_global
  • menu_tabs
  • omsAdditions
  • printAlbumMenu
  • printAlbumMenuJump
  • printAlbumMenuList
  • printAlbumMenuListAlbum
  • printAlbumStatistic
  • printAlbumStatisticItem
  • printAllTags
  • printAllTagsFromAlbum
  • printAllTagsFromZenpage
  • printCommentForm
  • printContactForm
  • printCustomMenu
  • printGoogleMap
  • printImageStatistic
  • printLatestAlbums
  • printLatestImages
  • printLatestImagesByDate
  • printLatestImagesByMtime
  • printLatestUpdatedAlbums
  • printMenuemanagerPageList
  • printMenuemanagerPageListWithNav
  • printMenumanagerBreadcrumb
  • printMenumanagerNextLink
  • printMenumanagerPrevLink
  • printMostRatedAlbums
  • printMostRatedImages
  • printPagedThumbsNav
  • printPopularAlbums
  • printPopularImages
  • printRating
  • printRelatedItems
  • printTopRatedAlbums
  • printTopRatedImages
  • saveLayoutSelection
  • saveZenphotoLayoutSelection
  • showOrNotShowField
  • submenuOf
  • tagSuggestJS
  • tagSuggestJS_admin
  • tagSuggestJS_frontend
  • Overview
  • Package
  • Function
  • Tree
  • Deprecated

Function printPagedThumbsNav

Prints a paged thumbnail navigation to be used on a theme's image.php, independent of the album.php's thumbs loop

NOTE: With version 1.0.2 $size is no longer an option for this plugin. This plugin now uses the new maxspace function if cropping set to false.

The function contains some predefined CSS ids you can use for styling. NOTE: In 1.0.3 a extra div around the thumbnails has been added:

<

div id="pagedthumbsimages">. The function prints the following HTML:

Previous thumbnail list
(if the link is inactive id="pagedthumbsnav-prevdisabled", you can hide it via CSS if needed)
(...) (the active thumb has class="pagedthumbsnav-active")
Next thumbnail list (if the link is inactive id="pagedthumbsnav-nextdisabled", you can hide it via CSS if needed)

(optional)

  • (active page link has css class "pagedthumbsnav-pagelistactive" attached)

    You can of course build your own order of the elements as this plugin is with version 1.2.7 based on a class. Make a custom theme function and change the order of the functions calls within. Alternatively you can use also use the "get" class methods to build something completely customized.

    Package: plugins
    Author: Malte Müller (acrylian)
    Located at zp-extensions/paged_thumbs_nav.php
    Parameters summary
    integer $imagesperpage = '' How many thumbs you want to display per list page
    boolean $counter = false If you want to show the counter of the type "Images 1 - 10 of 20 (1/3)"
    string $prev = '' The previous thumb list link text
    string $next = '' The next thumb list link text
    integer $width = NULL The thumbnail crop width, if set to NULL the general admin setting is used. If cropping is FALSE this is the maxwidth of the thumb
    integer $height = NULL The thumbnail crop height, if set to NULL the general admin setting is used. If cropping is FALSE this is the maxwheight of the thumb
    boolean $crop = NULL Enter 'true' or 'false' to override the admin plugin option setting, enter NULL to use the admin plugin option (default)
    boolean $placeholders = NULL Enter 'true' or 'false' if you want to use placeholder for layout reasons if teh the number of thumbs does not match $imagesperpage. Recommended only for cropped thumbs. This is printed as an empty <span></span> whose width and height are set via inline css. The remaining needs to be style via the css file and can be addressed via "#pagedthumbsimages span".
    boolean $showpagelist = false Enter 'true' or 'false' if you want to a list of the pages available. Can be styled via "#pagedthumbsnav-pagelist".
    boolean $pagelistprevnext = false $showprevnext If you want to show the prev and next links with the pagelist
    integer $pagelistlength = 6 $navlen How many page links should be shown (not that there will be dotted ransition links like this: 1 2 3 4 ... 30).
    Zenphoto doc API documentation generated by ApiGen