Display Imagecache Authors, not Users
I have a problem with imagecache user pictures being displayed, rather than the authors picture. For example, I have created a imagecache preset called 'comment' and on a particular page I want it to display the authors imagecache preset, but it displays the logged in user's picture for all posts, instead of the picture of the post author. Here is the code I am using:
<?php print $image = l(theme('imagecache', 'comment', $user->picture), 'user/' . $user->uid, array('html' => TRUE));?>
I sincerely appreciate any assistance anyone can provide.