5
在drupal 7 node.tpl中渲染或打印图像?
我试图用tpl为节点设置主题,当我尝试打印图像时,找不到d6中的图像路径。我必须调用哪个函数才能正确输出图像..我的意思是像theme('')这样? Array ( [und] => Array ( [0] => Array ( [fid] => 13 [alt] => [title] => [width] => 416 [height] => 335 [uid] => 1 [filename] => Capture2.PNG [uri] => public://Capture2.PNG [filemime] => image/png [filesize] => 215377 [status] => 1 [timestamp] => 1346837738 [rdf_mapping] => Array ( ) …