Hello,

I've been trying to figure out a way of doing this for days and it is steadily driving me crazy!!!

I'm using the Moviedb module and on the actors page, I have allowed the node_image module of the image module to add images to this node type. What I want to happen is on the pages that link into the name of the actor, it shows a little picture of them (or if there is not a picture a standard image).

The code of where I want this to happen is below, but I just can't seem to get my coding as such that it links into the actors page to gather the url of the picture... any help would be greatly appreciated.

if($node->actors[0]) {
$actors = theme_mdb_movie_people($node->actors);
$output .= "<br>";
$output .= "<b><u>";
$output .= "Cast";
$output .= "</b></u>";
$output .= " <TR><TD> <div class=\"label2\">". t('') ." </div><div class=\"content2\">". $actors ."</div> </TD>\n";
if($node->characters) {
$output .= " <TD><div class=\"label2\">". t('.....') ." </div></TD> <TD> <div class=\"content2\">". $node->characters ."</div> </TD>\n";
}
$output .= "</TR>";
}