Hi,

I created my own content type and now added a picture(field_picture) of widget type image to it. Fine, I can upload it and all but i'm wondering how i can display it in my nosde--mycontent.tpl.php.
a print_r($node); shows me that the image is there but i see the following:

[field_picture] => Array
        (
            [und] => Array
                (
                    [0] => Array
                        (
                            [fid] => 2
                            [alt] =>
                            [title] =>
                            [width] => 275
                            [height] => 320
                            [uid] => 1
                            [filename] => foxy-lady-logo_colour_outli.png
                            [uri] => public://foxy-lady-logo_colour_outli.png
                            [filemime] => image/png
                            [filesize] => 32237
                            [status] => 1
                            [timestamp] => 1355639604
                            [rdf_mapping] => Array
                                (
                                )

                        )

                )

        )

Which doesn't give me a url to display the picture, how do i find this out? I found some stuff on google but that seemed to all be related to Drupal 6 - how do I do this in Drupal 7?

Thank you,
Ron

Comments

I found this:

I found this: http://drupal.org/node/1059636 but

<?php
print render($content['field_picture']);
?>
in my node--mynode.tpl.php doesn't print anything....

iNetGate - get connected
http://www.inetgate.biz