Closed (fixed)
Project:
Imagefield Gallery
Version:
5.x-2.0-alpha4
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2008 at 23:09 UTC
Updated:
7 Feb 2010 at 07:53 UTC
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
Comment #1
keyo commented<?php print $node->content['field_name']['#values'];Comment #2
pizangdesain commentedi've try this way but it's not work for me, i try
print $node->content['field_name']['view'];andprint $node->content['field_name']['#children'];to show thumbnail image.anybody can tell me how to print imagefield value for thumbnail and preview imagecache?