Views of Users and Images

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

I am building a site where I have custom user profiles built using nodeprofile, usernode, nodefamily, et al. I am using Image Attach for the user images.

So, here's the problem: I want to create a view of nodes along with the attached image for the node author.

I can create a view that consists of the Node: Author and Image Attach: Display Image. I can create the view of nodes. What I can't do is get them to play nicely together. It seemed to me that Views Fusion would work for fusing these two views together, but I get errors:

    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in /sites/all/modules/views_fusion/views_fusion.module on line 401.
    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in /sites/all/modules/views_fusion/views_fusion.module on line 402.
    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in /sites/all/modules/views_fusion/views_fusion.module on line 404.
    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in /sites/all/modules/views_fusion/views_fusion.module on line 405.
    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in /sites/all/modules/views_fusion/views_fusion.module on line 406.
    * warning: Invalid argument supplied for foreach() in /sites/all/modules/views/views_query.inc on line 585.
    * warning: Invalid argument supplied for foreach() in /sites/all/modules/views/views_query.inc on line 585.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS node_nid FROM node node LIMIT 0, 10' at line 1 query: SELECT DISTINCT(node.nid), node.created AS node_created_created, image_attach.iid AS image_attach_iid, users.name AS users_name, users.uid AS users_uid, AS node_nid FROM node node LIMIT 0, 10 in /includes/database.mysqli.inc on line 151.

I know I can call the attached image in the template for each view, but I'd really like to have everything done through the Views UI.

Profiles as nodes

Group organizers

Group notifications

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