News: 2009-11

Spamfilter Mollom

This is a Mollom based SPAM filter. It uses the Mollom service to check spam. It include also the Mollom class file and the Mollom captcha generator file.

slideshow_flash

Slideshow_flash is a Flash-based plugin for the zenphoto web photo gallery application. It provides a simple-to-use slideshow which scales the images to the full browser window or to full screen with high quality scaling.

html_meta_tags

The plugin creates

  • <meta> tags using general existing Zenphoto info like gallery description, tags or Zenpage news categories.
  • Support for <link rel="canonical" href="" />
  • Open Graph tags for social sharing
  • Pinterest sharing tag

Just enable the plugin and the meta data will be inserted into your <head> section. Use the plugin's options to choose which tags you want printed.

 

Zenphoto Sitemap

A plugin for Zenphoto which generates a sitemap for the gallery, when the gallery is accessed with ?sitemap in the URL. The initial sitemap is just an index, pointing a several other sitemaps, one for each album, which then points at the images.

viewer_size_image

Provides a means where visitors can select the size of the image on the image page.

The default size and list of allowed sizes may be set in the plugin options or passed as a parameter to the support functions.

The user selects a size to view from a radio button list. This size is then saved in a cookie and used as the default for future image viewing.

Sizes as used for the default size and the allowed size list are strings with the The form is $s=size or $h=heigh; $w=width;.... See printCustomSizedImage() for information about how these values are used.

If $s is present, the plugin will use printCustomSizedImage() to display the image. Otherwise both $w and $h must be present. Then printCustomSizedImageMaxSpace() is used for displaying the image.

You must place calls on printUserSizeSelector() and printUserSizeImage() at appropriate places in your theme&#039;s image.php script to activate these features.

contact_form

Prints an e-mail contact form that uses Zenphoto&#039;s internal validation functions for e-mail and URL. Name, e-mail address, subject and message are required fields by default. You need to set a custom mail address to be used for the messages destination.

Support is included CAPTCHA and for confirmation before the message is sent. No other spam filter support is provided. Your mail client will provide filtering on receipt of the message.

The contact form itself is a separate file and located within zp-core/zp-extensions/contact_form/form.php. Place a customized version of the form in a similar folder in your theme if you wish something different from the standard form.

static_html_cache

Used to cache Theme pages (i.e. those pages launched by the Zenphoto index.php script.)

Exceptions to this are the password.php and 404.php pages, any page listed in the Excluded pages option, and any page whose script makes a call on the static_cache_html_disable_cache() function. NOTE: this function only prevents the creation of a cache image of the page being viewed. If there is already an existing cached page and none of the other exclusions are in effect, the cached page will be shown.

In addition, caching does not occur for pages viewed by Zenphoto users if the user has ADMIN privileges or if he is the manager of an album being viewed or whose images are being viewed. Likewise, Zenpage News and Pages are not cached when viewed by the author.

paged_thumbs_nav

Prints a paged thumbnail navigation to be used on a theme&#039;s image.php, independent of the album.php&#039;s thumbs loop The function contains some predefined CSS ids you can use for styling.

histogram

A plugin that creates a histogram for an image.

dynamic-locale

Allow the site viewer to select a localization.

Only the zenphoto and theme gettext() string are localized by this facility.

If you want to support image descriptions, etc. in multiple languages you will have to enable the multi-lingual option found next to the language selector on the admin gallery configuration page. Then you will have to provide appropriate alternate translations for the fields you use. While there is a field for strings for all zenphoto supported languages you need supply only those you choose. The others language strings will default to your local language.

Locale selection may occur in several ways:

  • A cookie stored when the user chooses his language
  • The URI language selection provided by the seo_locale plugin
  • The subdomain locales option

This plugiin applies only to the theme pages--not Admin. The <em>language cookie, if set, will carry over to the admin pages. As will using subdomains.