I am using a custom image field in one of my content types, which I am accessing using the following code.

```
if ($content['field_heading']) { 
  print render($content['field_heading']);
}

```

Everything is fine, except that in administrative area I am seeing this error message:

> 
> Notice: Undefined index: field\_heading in include() (line 4 of tridz7\sites\all\themes\tridz\node.tpl.php).
> 
> 
> 

What could be the reason? Is there any workaround?