News

Drag and drop sorting issue in Zenphoto 1.2.9

Sadly we just found out that the update to jQuery 1.4.2 breaks our drag and drop sorting for albums and Zenpage pages. However, the fix is rather easy. Just replace the jquery.js within zp-core/js/jquery.js with the jQuery 1.4.1 release. Tonight's nightly build will also contain this revertion.

The reason is probably that we rely on an older nested tree sortable script using the jQuery UI predecessor Interface. Except for this issue it is still working great. We looked at some newer scripts but we have not found any replacement that is as easy and convenient to adapt. We would be open for suggestions though.

Image markup generator

This plugin automatically creates links to a image so you can paste them into forum posts, other websites, etc.

image_rotate_gd

This plugin provides a substitute to image rotation functionality if the GD libary on your server lacks support for it.

New plugin: image_rotate_gd

This plugin provides a substitute to image rotation functionality if the GD libary on your server lacks support for it.

This plugin is unsupported and provided "as is".

You can download it here.

Zenphoto 1.2.9

  • pclzip.lib updated to current version [sbillard]
  • Backend and frontend HTML validation fixes [sbillard, acrylian]
  • Nested album backend sorting [sbillard, acrylian]
  • Latest three news articles from zenphoto.org on backend overview page [sbillard, acrylian]
  • Update of default JS libary jQuery to 1.4.2 with jQuery UI 1.7.2 [sbillard, acrylian]
  • Sorting improvements [sbillard]
  • Default cropping improvements (uses the law of thirds now) [sbillard]
  • RSS now works with https [sbillard, acrylian]
  • New RSS mode "AlbumsRSSCollection" (Latest (sub)albums from within specific album) [acrylian]
  • EXIF fixes [sbillard]
  • Dynamic album improvements [sbillard]
  • Colorbox replaces Thickbox as default "box" JS script [acrylian]
  • User management improvements [sbillard]
  • Setup improvements [sbillard]
  • Interlace option for resized images [sbillard]
  • Zenpage-default theme renamed to just Zenpage theme
  • Plugins
    • Zenpage plugin improvements
      • Custom thumb cropping for CombiNews mode [acrylian]
      • New CombiNews mode: Latest images by album [acrylian]
      • Sort order and direction parameter for next_news() loop("title" or "date" descending or ascending) [acrylian]
      • (...)

Object model framework tutorial published

As some of you know Zenphoto features also a quite flexible object model framework that advanced users can use besides the standard theme functions.We now have published a short tutorial about it.

Read more on http://www.zenphoto.org/2010/02/zenphotos-object-model-framework/

Zenphoto's object model framework

This is a short tutorial about how to use Zenphoto's object model framework  that you for example can use to leave the standard theme way described on the  theming tutorial or to do other custom stuff.

Before reading this you should be familiar with Zenphoto themes in general and having read the theming tutorial. Also you should have quite some PHP knowledge and an understanding about how object orientation works.

Zenphoto's main classes

This is the general class structure:

  • Gallery: The gallery itself
  • PersistentObject: This is a very general and powerful abstract database persistence class. It defines types by table names and records by a set of unique fields (keys). To instantiate a new database based object in Zenphoto, all that's needed are the values of those unique fields. PersistentObject provides caching, lazy-evaluating, persistable object support. 
    • Zenphoto_Administrator: Represents a user
    • Comment: Represents a comment
    • Zenpage (optional Zenpage CMS plugin): Base class for items of the optional  (...)

New plugin: flag_thumb_as_new

This new plugin lets you flag thumbnails on your site as new either using an image/icon or plain text CSS overlay. Although developed by the official team it will not be included in the official release package. You can download it on our extensions section.

Colorbox replaces Thickbox

Zenphoto used the jQuery Thickbox script as default "box" script for quite some time.  Since Thickbox has been abandoned by its developer and the coming Zenphoto 1.2.9 will feature the brand new jQuery 1.4 Thickbox will be replaced by the Colorbox script.

So if you use a customized standard theme and included the Thickbox script as often told by us from zp-core/js you should now update your theme to either use the Thickbox from elsewhere or the new Colorbox. The standard themes — especially the Zenpage theme — have already been updated for tonight's nightly build.

Zenonfly

A plugin for preloading images via JavaScript for faster single image view browsing.