HowTo: Install Node Gallery
Steps to Install:
1. Download Node_gallery, ImageAPI, Imagecache, and Optional modules desired from Drupal.org.
2. Unzip or unpack the modules on your computer.
3. FTP or Upload the module folders with all the contents(as is) to the sites/all/modules folder.
Reminder: all contributed modules go in ( www.example.com/sites/all/modules ).
4. Goto: Administer > Site building > Modules
system path admin/build/modules/list
5. Checkmark or Enable ImageAPI, ImageAPI GD2, Imagecache and Imagecache UI.
Note: Install these first to avoid possible php error when node_gallery looks to add presets to imagecache.
ImageAPI GD2 provides image quality support.
Imagecache UI provides the user interface to allow configuring of presets.
6. Save the settings to install (updates the database).
7. Checkmark or Enable Node Gallery, Node Gallery Access(if needed), Node Gallery Lightbox2 Integration(if needed) and Optional modules desired.
Note: Node Gallery Access provides password protection and access configurations for galleries.
Lightbox2 Integration provides Lightbox2 functions.(Lightbox2 module is required)
8. Save the settings to install (updates the database).
9. Set the Permissions (see next section).
Items Created at Install Time:
- 2 content types are created, Gallery and Gallery Image.
- One gallery relationship using Gallery and Gallery Image content types.
- Imagecache is set for cover, thumbnail and display.
- ImageAPI photo quality is set to 75% (standard Drupal setting).
Configure Permissions:
Goto: Administer > User management > Permissions
system path admin/user/permissions
> imagecache module
view imagecache node-gallery-cover
view imagecache node-gallery-display
view imagecache node-gallery-thumbnail
* Added imagecache presets will be listed upon creation
> node module
access content
administer nodes
create node_gallery_gallery content
create node_gallery_image content
delete any node_gallery_gallery content
delete any node_gallery_image content
delete own node_gallery_gallery content
delete own node_gallery_image content
edit any node_gallery_gallery content
edit any node_gallery_image content
edit own node_gallery_gallery content
edit own node_gallery_image content
* Added content types for new gallery relationships will be listed upon creation
> node_gallery module
view node gallery
Optional Module permissions (a few examples)
> Captcha module
skip CAPTCHA
> comments
access comments
post comments
post comments without approval
> Lightbox2 module
download original image
> fivestar
rate content
> nodewords module
edit meta tags
> path module
create url aliases
> views module
access all views
( Save )
Configure Pathauto if Installed:
note: Available tokens specific to node gallery
[parent-node-gallery-path] The path of the parent Gallery.
[parent-node-gallery-path-raw] Unfiltered path of the parent Gallery. warning-raw user input.
[parent-node-gallery-title] The title of the parent Gallery.
[parent-node-gallery-title-raw] Unfiltered title of the parent Gallery. warning-raw user input.
All regualar tokens are also available
see pathauto in detail ( http://drupal.org/handbook/modules/pathauto )
Goto: Administer > Site building > URL aliases
system path admin/build/path/pathauto
> Node path settings:
Pattern for all gallery paths:
node-gallery/[title-raw] (example: photo-galleries/[...] )
Pattern for all gallery image paths:
node-gallery/[parent-node-gallery-title-raw]/[title-raw] (example: photo-galleries/[... ]/[...] )
( Save configuration )
! All Done and Ready to Create Galleries !
Note: All the neccessary settings are in place at this point. Additional adjustments can be made to the ImageCache Presets and the Default Gallery Relationship. see ( HowTo: Configure Node Gallery ) in this Handbook.
Need help? Use the Drupal "Post Installation" Forum( /forum/22 ). Please use a descriptive title for the post.
(or) Request support in the node_gallery issue que( drupal.org/project/issues/node_gallery )


