I have an article node with an entity reference field (field_slideshow) which references a slideshow node with a multiple value image field (field_slide_image). I want to display the images on the slideshow node inside the body text of the article node

When i use [node:field_slideshow] it displays the title of the slideshow node, but not the images attached to that slideshow node. I also tried [node:field-slideshow], same result (only node title is displayed)

when i try [node:field-slideshow:field-slide-image], it displays the following instead of the actual images:

Property 0, Property 1, Property 2, Property 3, Property 4, Property 5, etc.

How do i display the actual images of the slideshow node using the default view mode of the field_slide_image in the slideshow node?

*******Please Help*********

Comments

itpromanager created an issue. See original summary.

smartsystems160’s picture

Title: Token to display images of a Referenced Node Inside node body text » Token to display images of a Referenced Node Inside body text of Referencing Node
rwilson0429’s picture

Have you enabled the "Replace tokens" filter on the text format that you are using? The tokens won't be replaced if you haven't done so.

The techiques shown here https://www.ostraining.com/blog/drupal/tokens-in-drupal-fields/ and here: https://www.ostraining.com/blog/drupal/prepopulate/ may be of help to you.

darvanen’s picture

Priority: Critical » Normal
Status: Active » Closed (works as designed)
  1. I think this is outside the bounds of what tokens are capable of.
  2. Token Filter does not alter the behaviour of tokens beyond making them work in filtered text fields.

If you resurrect this ticket I think it should be assigned to the Token project rather than Token Filter.