I tried

<?php  
$images = $node->field_photos;
print theme_lightbox2_imagefield_gallery($images , $node->nid, "page_field_photos");
?>

But the paths to the images are wrong. Besides it does not allow the admin to change the gallery type from the admin pages. What function is called by default when Drupal renders a non-templated page?

Thanks.

Comments

keyo’s picture

Status: Active » Closed (fixed)

<?php print $node->content['field_name']['#values'];

pizangdesain’s picture

i've try this way but it's not work for me, i try print $node->content['field_name']['view']; and print $node->content['field_name']['#children']; to show thumbnail image.
anybody can tell me how to print imagefield value for thumbnail and preview imagecache?