Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If you want to have your image display in a template such as node.tpl.php, the following code will print the image and image title for a CCK image field called field_related_images:
- <?php print $node->field_related_images[0]['view']; ?>
- <?php print $node->field_related_images[0]['title']; ?>
Add Comment
Please, Sign In to add comment