Advertising sustains the DA. Ads are hidden for members. Join today

On this page

Step by Step Instructions for Views Galleriffic in Drupal 6

Last updated on
30 April 2025

You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules

1. Prerequisites.

Install CCK, Views, Imagefield (requires Filefield), Views Attach, and Views Galleriffic

2. Add two new Imagecache Presets:

adding imagecache presets

a. Name 1 'galleriffic_slide'.

Adding galleriffic_slide imageacached preset

b. Add 'Scale and Crop' action.

d. Name a second preset 'galleriffic_thumb'.

e. Add 'Scale and Crop' action.

Adding galleriffic_gallery content type

Adding image field

i. Select 'Required' and 'Unlimited' under "Number of values".

Select 'Required' and 'Unlimited' under "Number of values".

ii. Select 'Enable custom title text'.

Select 'Enable custom title text'.

iii. Select 'Enabled' under "Description field".

Enable description field

Exclude under display settings.

This will keep the images from showing up on the node. We are going to use Views to show the images on the node.

Adding gallery node

Creating new view

Add filter
selecting gallery in the filter
This isn't strictly necessary since we will be doing the same thing with the Views Node Attachment but it might come in handy if we add other displays such as a page in the future.

b. Add "title" field:

adding field
This may be different if you have a different field name.

ii. Enter 'Title' under "Label" in "Style Settings".

label

iii. Select a "Data key" of 'title' at the bottom of the field definition.

selecting data key

c. Add "description" field:

ii. Enter 'Description' instead of 'Title' under "Style Settings".

iii. Select a "Data key" of 'description' instead of 'title' at the bottom of the field definition.

d. Add slide field:

Selecting image field

ii. Deselect "Group multiple values", add 'Slide' as a custom "Label", select 'galleriffic_slide URL' under "Format".

adding imagefield

e. Add thumbnail field:

i. Repeat steps above substituting 'thumbnail' for 'slide'.

Adding thumbnail field

f. Add Style Settings:

selecting style

d. Add Row settings:

i. Select 'Galleriffic Fields' under "Row style"

selecting Galleriffic Fields

ii. Select the correct field for each type of row.

Selecting rows

6. Add and configure a "Node Content" display in the View.

i. Click 'Node content' and 'Add display'.

adding display

selecting node type

iii. Add an Argument ( plus sign next to "Arguments") and select 'Node: Nid'.

iv. Select 'Provide default argument' and 'Node ID from URL' in the argument.

configuring argument

see results

Help improve this page

Page status: Not set

You can: