Node Gallery

wilson98 - November 5, 2008 - 03:22

Node gallery enable users to create a more flexible and powerful gallery that are fully integrated with Drupal's core node system. Administrators choose what kind of content type they want to be the "Gallery" type, and what kind of content type they want to be the "Image" type. When such a relationship is established, users can batch uploading "Images" into "Gallery", editing them within "Gallery", or just deleted them. Because "Image" and "Gallery" are both node types, one can naturally use Drupal's taxonomy module, comment module, VotingAPI, CCK, Views and other powerful modules to enhance the gallery.

About 2.x branch

2.x branch is a completely rewrite of this module. The schema and the api are almost completely different as 1.x version. It has a more clear and simple architecture and much more performance improved. Update from 1.x to 2.x is not support currently.

Changes

  • Remove upload module dependency. Now you can set this type of limits (upload file extension, file's max resolution, file's max size etc) in the gallery settings, this give you a per gallery file limit setting.
  • gallery settings menu was moved from admin/build to admin/settings, because now the gallery settings data was stored in the variable table.
  • Add views2 support.
  • Lightbox2 integration as submodule.

Features

  • Two node types: one for galleries and one for images associated with galleries.
  • Use Drupal's core Batch API to do batch operations such as uploading and editing.
  • Integration with the taxonomy system, comment system, VotingApi, CCK and other contributed module. As Node Gallery is powered by Drupal's Node module, everything you can do with nodes you can do to your galleries and images.
  • Unlimited number of gallery relationships can be established, thus allowing administrators to setup simple and complex galleries for their users to utilize.
  • Per user albums.
  • Token Support
  • Lightbox2 Support (Allowing full-size images to be viewed in a Lightbox or providing a lightbox2 slideshow from the teaser view or gallery page view.
  • And many more other features.

Requirements

Contributed Modules

  • Node Gallery Access allows you to control the access of your galleries (set to public, private, or password).

Installation

When you enable the Node Gallery module, it automatically creates 2 node types (one for Galleries and one for Gallery Images), three imagecache presets (cover, display, and thumbnail), and establishes one node gallery relationship (Linking Gallery and Gallery Image). All you need to do is configure the permissions for the content types.

Out of the box, you can create a gallery and then start uploading images. However, you may wish to customize the imagecache presets or the settings for the default relationship.

Known Issues:

Please make sure none of these issues exist with your installation before submitting a bug regarding uploading:

  • Uploads do not work will in Off-line mode
  • Node Gallery Upload currently accepts all allowed filetypes defined on admin/settings/uploads. This needs to be pruned down to just images
  • Uploads occasional fail if an image is larger than the maximum file size per upload (defined on admin/settings/uploads)
  • Uploads will fail if maximum image resolution is defined on admin/settings/uploads.

If upload fail, please increase your php memory_limit, cause drupal's built-in file handler library will do some processes to your upload files when their filesize or resolution are out of the limits.

To Do (once the core architecture is stable)

  • Views integration
  • Swfupload as contribution

Credit

This module is mainly inspired by the docs Ajax-img-gallery ( http://www.scribd.com/doc/3110492/Ajaximggallery ). It was authored by Wilson Wu and is co-maintained by Kevin Montgomery.

Releases

Official releasesDateSizeLinksStatus
6.x-2.0-alpha102009-Jun-2440.45 KBRecommended for 6.xThis is currently the recommended release for 6.x.
6.x-1.0-alpha82009-Apr-2729.8 KBSupported for 6.xThis release is supported but is not currently the recommended release for 6.x.
Development snapshotsDateSizeLinksStatus
6.x-2.x-dev2009-Jul-0140.52 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
6.x-1.x-dev2009-May-1432 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.