Views Gallery Module -------------------- NOTE! This module has been reworked to take advantage of the Features module and it is now a feature. Views Gallery pulls together the techniques Jeff Eaton outlined in http://www.lullabot.com/articles/photo-galleries-views-attach to automatically create a simple gallery where each gallery is a node with an embedded view of images that were assigned to that gallery. The feature creates the content types, sets up the imagecache presets, creates the default gallery view that is embedded into the gallery nodes by Views Attach, adds custom back/next pagers, and adds css to make it all look nice. This technique also works well to create individual image galleries for Organic Groups, since the gallery and image content types can be configured as group nodes. Views Gallery OG, included in this package, provides a setup page to make it easy to automatically create a gallery for every group and adds group context to the forms wherever possible so the right groups and group galleries are pre-selected when you create gallery images. The following modules provide the nuts and bolts for this to work. It is a long list of modules, but there is little or nothing you need to do except make sure the latest versions of all these modules are available when you install Views Gallery and everything will be installed and configured for you. Plus, most of them are modules you will probably use elsewhere. * Features (http://drupal.org/project/features) * Strongarm (http://drupal.org/project/strongarm) * CTools (http://drupal.org/project/ctools) * CCK (http://drupal.org/project/cck) * Views (http://drupal.org/project/views) * Views Attach (http://drupal.org/project/views_attach) * Nodereference URL (http://drupal.org/project/nodereference_url) * Filefield (http://drupal.org/project/filefield) * Imagefield (http://drupal.org/project/imagefield) * ImageAPI (http://drupal.org/project/imageapi) * Imagecache (http://drupal.org/project/imagecache) * Token (http://drupal.org/project/token) * Custom Pagers (http://drupal.org/project/custom_pagers) If the Lightbox2 (http://drupal.org/project/lightbox2) module is enabled, a 'View Slideshow' link will be added to the gallery view, which will bring up a lightshow of the gallery images. If the Views Slideshow module (http://drupal.org/project/views_slideshow, version 6.2) is enabled, a Views Slideshow block is added to the default view. If the Spaces module (http://drupal.org/project/spaces), the spaces filter will be automatically added to the views to limit them to selected spaces. This module has been sponsored by Buzzr (http://buzzr.com/). Installation ------------ Chekc the module's requirements, download the 'views_gallery' module and enable it. Then go to the Features page and turn the feature on. If you have Context and Spaces installed, you can set the feature up to appear only in selected contexts or spaces. You should not have to do anything else, it will create the content types and views and an initial gallery node for you and configure everything else that needs to be done. The following content types will be created by the module: * gallery * gallery_image The following views will be created by the module: * gallery * gallery_list The following initial gallery node will be created by the module: * gallery Configuration ------------- The module can be configured through Admin -> Setting -> Views Gallery (./admin/settings/views_gallery). On this page you can choose a Views Gallery Gallery Type and a Views Gallery Image Type. Upgrading instructions ---------------------- This module implements the techniques show in Jeff's screencast but has implemented numerous tweaks and adjustments to fix bugs or add new features. If you have created content types and views from that screencast they WILL NOT WORK in this module because of subsequent changes. Delete them and start over, this module will create the right types and views. More documentation ------------------ To understand what you can accomplish with Node-based galleries with CCK and Views, you can have a look at Jeff Eatons screencast at Lullabot: http://www.lullabot.com/articles/photo-galleries-views-attach This screencast has been partially transcribed as an (incomplete) Howto: http://drupal.org/node/599672 The screencast and the Howto will give you a basic understand what's going on under the hood if you install the 'views_gallery' module. Troubleshooting --------------- If the module behaves unexpectd, please check first the Drupal status report at Admin -> Reports -> Status (./admin/reports/status). Author and Copyright -------------------- Author: Karen Stevenson For further copyright information please see the included LICENSE.txt.