How to redirect link to /node/% to /user/% ?

Events happening in the community are now at Drupal community events on www.drupal.org.
xenode's picture

My setup is Drupal 5.10 and the latest versions of:

usernode, node profile, node family, imagefield, imagecache, Views, CCK

I am using the above modules to create userprofiles, whose pictures are displayed in a gallery format using imagefield+imagecache+views. My user profiles are taken over using michelle's template.php snippet, featured in her userprofiles #1 tutorial. Every /user/% looks just like its corresponding /node/%.

In views I add the field "field_image_field" and "Node: Author Name". This creates a photo gallery, with the user's name under each image.

The "Node: Author Name" links to /user/%. This is good.

The "field_image_field" is set to "Handler: Show first values only", and "thumb as link to node". It links to /node/%. This is not good.

I want it to link to /user/%. Unfortunately, in views under "option", there is no way to link "thumb as link to user".

How do I link each image_field to the /user/% ?

Please help.

Profiles as nodes

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: