Hi,
I use of following code for viewing a node in anothor node:

<?php
  $node = node_load(array('nid'=>18));
  $output = node_view($node, 1);
  print $output;
?>

but it dosen't work for image library. I even tried: node_load(array('tid'=>18));

Can you please guide me how can I do this for image gallery? I simply want show a image gallery in anothor node.

Comments

praseodym’s picture

Component: image.module » image_gallery
Status: Active » Closed (fixed)

Since galleries are taxonomy you can't load them via node_load. More information can be found at http://api.drupal.org.