News

Zenphoto demo now with theme switcher

We have updated our demo which now uses the new themeSwitcher plugin so that you can switch between all six official themes. Take a look!

demo-1.4.3

cacheManager

This plugin is the centralized Cache manager for Zenphoto.

It provides:

  • Options to purge the HTML and RSS caches on publish state changes of:
    • albums
    • images
    • news articles
    • pages
  • pre-creating the Image cache images
  • utilities for purging Image, HTML, and RSS caches

Image cache pre-creating will examine the gallery and make image references to any images which have not already been cached. Your browser will then request these images causing the caching process to be executed.

The Zenphoto distributed themes have created Caching size options for the images sizes they use. The caching process does not consider the image orientation, it simply creates a cache image at the sizes specified.

Notes:

  • Setting theme options or installing a new version of Zenphoto will re-create these caching sizes. Use a (...)

check_for_update

Provides a check for more recent Zenphoto versions.

 

cloneZenphoto

"Clones" the currrent Zenphoto installation to a new location using symlinks. The zp-core, themes, user plugins folders and the root index.php file are symlinked. Setup will create the other needed folders.

The Clone installation button will take you to the cloning page where you can select a folder destination for the cloned installation. Upon successful cloning there will be a link to setup for the new installation. (This presumes the setup files are present. If not you will be told which files need to be reloaded.)

Note: If the destination already has a Zenphoto installation these files and folders will be removed by the cloning process!

The Delete setup scripts button will remove the setup files from the current installation. This is the same function provided by Setup after a (...)

colorbox_js

Loads Colorbox JS and CSS scripts for selected theme page scripts.

Note that this plugin does not attach Colorbox to any element because there are so many different options and usages. You need to do this in your theme yourself. Visit the colorbox site for information.

The plugin has built in support for 5 example Colorbox themes shown below:

If you select custom (within theme) on the plugin option for Colorbox you need to place a folder colorbox containing a colorbox.css (...)

mergedRSS

Merges several RSS feeds into one stream.

Based on David Stinemetze's MergedRSS Class

If you ever wanted to have a Zenphoto RSS that for example returns latest images for album x but latest albums for album y this is the tool to use. Just enter the urls of the seperate feeds and it will return the combined feed. The feed is called by yourdomain.com/index.php?mergedrss

While this plugin is meant for Zenphoto's RSS, you could also even use external RSS feeds. But be aware that hijacking content may be a violation of applicable laws!

 

mobileTheme

Mobile devices are detected with php-mobile-detect. A particular theme may be designated for phones and for tablets. If the connecting device is one of these, the theme will automatically switch to the designated mobile theme.

Test mode allows you to run your standard desktop client but simulate a phone or a tablet.

You may place a call on mobileTheme::controlLink(); in your theme(s) to allow the client viewer to override the switch and view your standard gallery theme. If the same call is placed in your gallery theme he will be able to switch back as well.
NOTE: This link is present only when the browsing client is a mobile device!

Class mobile methods you can use in your theme:

  • phone is connected.
    • isiPhone()
    • isBlackBerry()
    • (...)

related_items

Provides functionality to list (or get) objects related to the current object based on a search of the tags assigned to the current object.

 

seo_null

Changes white space characters to hyphens.

seo_zenphoto

Translates characters with diacritical marks to simple equivalents