Selecting only one image [from the node images module]

web4 - June 28, 2009 - 20:38

hello everybody

im having troubles with the node images module (http://drupal.org/project/node_images).

The module works great. When I insert $node->node_images to the node-template it shows me all the images Ive uploaded to the particular node.
Now the point is, that there are 2 images. But i only want to show one of them.

Speaking in pseudo code, im trying to do something like $node->node_images->image[1].

I was looking for the node_images() function, but I couldnt find it.

Can you help me with that? e.g. can I access the picture through php code like mentioned at the pseudo code? or is there another solution?

I appreciate every hint!
thanks a bunch,
benjamin

// edit
here is the dev environment...

you see that there are pictures within the content area. now, the little you should be placed in the green coloured block beneath the logo.

 
 

Drupal is a registered trademark of Dries Buytaert.