How to separately show two uploaded images

esllou - November 25, 2008 - 09:08
Project:Node Images
Version:5.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have a node type where each node will have 2 uploaded images...a sort of before and after.

How do I separate out these two images in my tpl.php file. If I use the standard:

<?php print $node->node_images ?>

the two images come out together. Is there a way of dividing them up, into some sort of array and then calling [1], then [2]. The reason I need them separate is I have text that goes between them.

thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.