HowTo: Configure Node Gallery

Last updated on
30 April 2025

Contents

ImageAPI Quality

Goto: (Administer > Site configuration > ImageAPI > Configure)
system path admin/settings/imageapi/config

Set JPEG quality:
Drupal default is 75%

Back to top

ImageCache Presets

Goto: (Administer > Site building > Imagecache > List)
system path admin/build/imagecache/list

    Add new, Configure, Edit and Delete the Presets as desired (For Each Part) of the gallery.
    Add new presets or reuse existing presets when Adding Gallery Relationships.
  • node-gallery-cover
  • node-gallery-display
  • node-gallery-thumbnail
  • Click (Edit), then click (Configure), to set Width and Height.
    Click (New Actions) to add actions such as, crop, re-size, rotate, scale, sharpen.
    Click (Delete) to remove a preset, (it's ok) you can always add it back.
    Multiple preset actions can be set for each.
    + Drag to sort order of processing after adding presets.
    Preview is available to see test result using the Drupal Logo.
    Click (Update) after any changes.

see ( ImageCache ) in detail.

Back to top

Goto: (Administer > Content management > Content types > Edit gallery)
system path admin/content/node-type/node-gallery-gallery

    Name: (The name to show on the create Content Page).
    Description: (Description to show users on the create content page).
    Submission form settings
    Remove Body field label text to NOT allow description.
    Explanation or submission guidelines (Instructions as needed for users when they are on the create gallery page).
    Xml sitemap: (if used)
    Comment settings: (permissions may need to be set to allow comments)
    Fivestar ratings: (if used and permissions may need to be set)
    Workflow settings:
    Choose published, promoted to front page, sticky, allow editing of meta tags, and so on.

( Save Content type )


----------

This is in a separate section here because the CCK Module is required with ( Content ) enabled to set Field Order.
At least one of ( Field group, Number, Option Widgets or Text ) must be enabled in CCK to Add Fields.

Goto: (Administer > Content management > Content types > Edit gallery > Manage fields)
system path admin/content/node-type/node-gallery-gallery/fields

Use the drag handles to arrange fields.
Additional fields may be in the list depending on enabled modules.
+ Gallery Name
+ Menu settings
+ Description
+ Path settings
+ Comment settings
Add new fields as needed or desired.

( Save settings)

Back to top

Notes about this content type: Node gallery uses the gallery content type to add, edit and display images. However, the images are nodes using the gallery_image content type(which is hidden from the user). For this reason, the content type Description is not used or visible. The content type Name and Type is used internally by the gallery relationship setting.

Taxonomy and other fields can be added to the Gallery-Image content type which will show on the manage images page within node gallery.
Reminder: After fields and/or taxonomy are added to the Gallery-Image content type, these have to enabled in the node_gallery configuration settings before they will display.
Goto: (Administer > Site configuration > Node gallery > List)
system path: admin/settings/node_gallery/list
To the right of the gallery, under 'operations' click 'Edit'. When the page loads, click 'Next' at the bottom. On the second screen, in the 'Fields' subsection check mark the new fields and 'Submit' the settings. Now the new fields will show on the 'manage images' page of your galleries.

Submission form settings will effect node gallery
On the manage images page of node gallery there is a 'Title' field and 'Caption' field which can be changed or renamed.

Other settings that effect the image pages are comments, fivestar, xmlsitemap, workflow and others depending on modules installed.

Goto: (Administer > Content management > Content types > Gallery image)
system path admin/content/node-type/node-gallery-image

    Open Submission form settings
    Rename 'Title' if desired
    Remove 'Caption' to omit captions on images. Or rename if desired.
    Xml sitemap (if used)
    Comment settings (permissions may need to be set to allow comments)
    Fivestar ratings (if used and permissions may need to be set)

( Save content type )

Back to top

Includes Settings For: Container Node, Image Node, Upload Fields, File Storage, Comments, Descriptions, Captions, Display Presets, Teaser, Landing Page, Upload Limits and File Sizes.

Goto: (Administer > Site configuration > Node gallery > List)
system path admin/settings/node_gallery/list

Click (Edit) next to the gallery you wish to configure.
----------
1st. setup screen Node Gallery - Edit Configuration

    Gallery Type:
    Radio buttons
    (Standard gallery content type is Gallery)
    Image Type:
    Radio buttons
    (Standard image content type is Gallery Image)

( Next )
---------
2nd setup screen Node Gallery - Edit Configuration

    Gallery Type Name:
    Give the gallery a name to show on the create content page.
    Gallery Directory:
    Set the directory to hold images inside sites/default/files/(name or token)/(name or token)
    Default Cover Image:
    Specify a default cover image to show when there are no images in the gallery.
    Number of uploads:
    Select the number of upload buttons(fields) for images on each upload page.
    (Please use caution when adding more than 4 or 5 as php.ini settings may need to be changed.)
    Fields:
    Specify the fields to show(check boxes).
    Title, caption, revision info, comment settings, path settings.
    Choose the content you want to display:
    Specify the description text to be used when displaying image pages.
    Choose gallery description (or) image description.
    Image Comment Setting:
    Specify the comment setting to use. (Image or gallery) as per setting in the content type.
    Images Sizes:
    Select which Imagecache Preset to use for each image display(cover,thumbnail,display).
    Original Image Display:
    Specify how to display the original image or disable this feature.
    View of the original image:
    Teaser setting:
    Specify how to display the gallery when viewing the gallery node as a teaser.
    Gallery Landing Page Setting:
    Specify how to display the gallery landing page images when viewing the node as a teaser

Image Upload Limitation Default Settings:

    Specify the image upload limitations
    Default permitted file extensions:
    Specify allowed file types ( jpg jpeg png ) (do not use a dot, just a space between each)
    Maximum resolution for uploaded images:
    Specify (width x height) in pixels. (use 0 for no limit, if there is trouble with uploads check this)
    Default maximum file size per upload:
    Specify a number in MB (calculated after Imagecache Preset resizes the files)
    Default total file size per user:
    Specify a number in MB (combined total size of all files a user is allowed to have in the system)
    Default total file number per user:
    Specify a number. (combined total number of files each user is allowed to have in the system)

Image Upload Limitation Settings for anonymous user:
note: This will not be visible until permissions have been set.

    Default maximum file size per upload:
    Specify a number in MB (calculated after ImageCache Preset re-sizes the files)
    Default total file size per user:
    Specify number in MB (combined total size of all files a user is allowed to have in the system)
    Default total file number per user:
    Specify a number (combined total number of files each user is allowed to have in the system)

Image Upload Limitation Settings for authenticated user:
note: This will not be visible until permissions have been set.

    Default maximum file size per upload:
    Specify a number in MB (calculated after Imagecache Preset re-sizes the files)
    Default total file size per user:
    Specify a number in MB (combined total size of all files a user is allowed to have in the system)
    Default total file number per user:
    Specify a number (combined total number of files each user is allowed to have in the system)

Image upload limitation settings for Each User Role will display below authenticated user settings. The settings will not be displayed until permissions have been set for each of those roles.

( Previous )  ( Submit )

Back to top

Album and Image Pages

Goto: (Administer > Site configuration > Node gallery > Common settings)
system path admin/settings/node_gallery/settings

    Enter the Number of galleries displayed on each main gallery list page:
    20
    If this number is exceed, a pager will be displayed below the main gallery list.
    Enter the Number of images displayed on each gallery thumbnail page:
    12
    If this number is exceeded, a pager will be displayed below each corresponding gallery thumbnail page.
    [  ]Use Named Anchors on Image "Previous" and "Next" links?
    When checked, the Previous/Next links will jump to the top of the image. When not checked, the Previous/Next links will load at the top of the web page.

( Save configuration )  ( Reset to defaults)

Back to top

Enable the Node Gallery Access module to use this function.
Goto: (Administer > Site building > Modules > List)
system path admin/build/modules/list

>Node Gallery
 Node Gallery Access

Goto: (Administer > Site configuration > Node gallery > Access settings)
system path admin/settings/node_gallery/access

Set Node Gallery Access Types:
[  ] node_gallery_gallery
Check mark the gallery(s) to allow password protection and access settings.
Password Mode Gallery File:
Specify the image to display when viewing a gallery that needs a password. The root is the web root. The default file is sites/all/modules/node_gallery_access/images/passAlbum.gif
Password Mode Image File:
Specify the image to display when viewing a gallery image that needs a password. The root is the web root. The default file is sites/all/modules/node_gallery_access/images/passAlbum.gif
Give Node Gallery Access priority:
[ 0 ] (select box)
If you are only using this access control module, you can safely ignore this. If you are using multiple access control modules you can adjust the priority of this module. If you change this setting, you must rebuild all permissions at (Administer > Content management > Post settings)

( Save configuration )  ( Reset to defaults)


Help improve this page

Page status: Not set

You can: