Hi

I created a node - node-gallery.tpl.php

I have a content type "gallery" and "custom_images"

http://vorlage.net.au/clclax.org.au/gallery-list <-- this is the page that im working on (where you can see the title, description and image)

i noticed that in node-gallery.tpl.php echo $content the $content has the description and image

my node-gallery.tpl.php <- originaly has $content <- where it displayes the description of my Gallery content type and Image of my custom_image content type

My Goals:
- to separate the variable of description and image - fixed i tried this print $node->content['body']['#value'];

- to get the variable of the image and print it

Here is my dsm screenshot http://vorlage.net.au/trash-images/dsm.jpg
Here is my devel screenshot http://vorlage.net.au/trash-images/devel.jpg

Help please

Thank you.l.

Comments

khorpyakov’s picture

How does an image kept within a node? Is it CCK field, file attachment or, maybe, something else?

wer0ckz’s picture

Hi,

Here is the screenshot of custom_image content type where i can upload the image

http://vorlage.net.au/trash-images/xxx.jpg