By mr_dimsum on
I have a preset that crops and scales all the images uploaded to a node. The View automatically displays all the images related to the node, but is there a possibly method of displaying a particular image that takes the node id as the argument somehow?
print theme('imagecache_image', $preset, $node->field_myimagefield[0]);
I found this code in the support forums that is said to do the trick.. Could somebody elaborate more on how about I'd be able to accomplish this? I don't know if this code limits it to only 1 being displayed or not and don't know if it works as I haven't been able to get it down.
I just popped it into a Content Template and that was about it..
Cheers,
D.