I want the image from my content "Certification" to be available in my content "Product" so the user can multi-select the appropriate certifications(image) related to the product.
So I made my 2 content type :
Certification
Node title
node body for description
field_certification_image
Product
Node title
node body
field_product_image (Here I made a Node rrfrrence to view image_from_certification)
Views : image_from_certification (to use in CCK to list the images from Certification)
Node type : Certification
Field: field_certification_image -> Link this field to its node -> Format : Image
Ok so now when I create content Product, I can select a Certification but its not the images that are listed but the Titles. I dont mind if the users dont see the images, they still can select the good certification but once the Product content is publish I want to have the image linked to the certification.
When I add my field_certification_image to Panels in my Parameters I only have the option to for Field formatter : "Title, Title (no link), Full Node"... no Images. So I can only list the Titles (with link).
So then I created a new Views list_certification to list the Certication images that is selected in my Certification CCK to add to my Panels.
Node type : Product
Arguments -> Node : NID
Field: field_certification_image -> Format : Again no choice for Image but "Title, Title (no link), Full Node"
Here again only the Title (linked) are listed.
So I tried to Rewrite the output of this field -> Replacement patterns to [field_certification_image_nid], no result.
I think I need a relationship somewhere probably for both my Views but can put my finger on it.
Am using Panels 6.x-3.10 and Views 6.x-3.x-dev
Comments
=-=
investigate using the references.module for Drupal 6.x
hi thanks for your
hi thanks for your answer.
Tho can you be more specific? there is a bunch of references module, did you meant cck node reference?
=-=
rereading the OP (I should have read slower the first time), I see that you are using the node references module that ships with CCK.
Yes and Node Reference is
Yes and Node Reference is doing the job all right.
I can select the "image field" from the other content, the problem is when I try to display the image in my Panel. I only got the Title linked to the image content node and I want only the Image.
For those who will stumble on
For those who will stumble on that thread, I finally did it with the Nodereference Image Helper module
http://drupal.org/project/noderef_image_helper