I want display a three image wide grid of images that extends down the page. In Views 2 I've set Style to Grid and filtered by Node: Type = Image, but I can't find a Field to select which will display my image.

I'm using the default Image content type. Do I have to create a new custom content type to get this to work?

Comments

vm’s picture

I assume you mean the default image content type from the image.module? (Personally, for use with views, I would have created my own image content type, using imagefield. so that your images were in fields rather than nodes)

that being said, images in the image module are nodes, thus you have to try and locate them in that way. I don't use the image.module any more to be able to direct you specifically.

jim0203’s picture

Thanks for that - I got some other advice on IRC which solved the problem. It turns out that the current stable release of image.module does not support Views, so in most cases it is probably worth creating a custom node type. However, the current dev release of image.module does support Views - there's a field in there called Image:Image. Works great for me, but my site is really simple so wouldn't pick up any non-major bugs in the dev release.

pant_deepak’s picture

Hi,

I have a web site where I have lot of images spread across different image galleries. I imported these using bulk image import feature. So I guess these got created as Nodes.

Couple years back I created a Random Image view using this post: "Random Image Block From One or More Galleries Using Views" at http://drupal.org/node/82617

The above view fails after I upgrade to "6.x-1.0-alpha4" as I dont see Image type in fields to add. If I upgrade to "6.x-1.x-dev" then I am able to see Image type and view starts working.

Can you please explain you approach of creating images as fields over nodes?

Until next time,
Deepak