Hey there,

I’m struggling with calling a particular View in Drupal 6 and hopefully someone out there can help me.

I’ve successfully created several content types including Image, Event and Story. Stories make up are the main content of the site, Events are displayed in a block and sorted chronologically and images, not surprisingly, are well, images.

I want to create a simple image image gallery using Views.

“gallery” view created.

Page display selected; relevant settings include:
Basic settings
Name: Page
Title: Gallery
Items to display: 10
Access: Unrestricted

Page settings
Path: gallery

Relationships
None defined

Arguments
None defined

Fields
Node revision: Body*

Sort criteria
Node: Post date asc

Filters
Node: Type exposed

*In the Page: Add fields check boxes, when "Node: Body (The actual, full data in the body field; this may not be valid data on all node types.)" is checked, "Node revision: Body" displays.

When the Node: Type filter is exposed, an interesting (all-be-it frustrating) result occurs:

When Note: Type is One of Story or Event, all of the stories display correctly. However, the images are never returned.

Does anybody have any clue what I did wrong?

Thanks much!

-NP

Comments

edwardrapley’s picture

I think it maybe that the images in Image nodes are not in the body as this is just the main text area of a node. So displaying the node:body will not call the images themselves to the view.

miahawk’s picture

same here...

I can't find a way to add the image itself to the view...

I built a view in 5.x using an image cck field, but never tried doing this with image nodes before and I can't figure it out :(

miahawk’s picture

The image will show up if you change:

Basic settings

Style: Grid
Row style: Node

nonprofit’s picture

Thanks miahawk, I'll check that out! Blessings! -NP

miahawk’s picture

hope it works.

for further joy, use content template to tweak your teaser so it shows thumbs instead of full size images.