Views: pass link to referenced node to image field I have a content type "slideshow" with three fields:
1. title
2. image
3. entity reference to nodes of a specific content type.

Then I created a view which I want to display as a slideshow on the frontpage. Its filter is set to the content type "slideshow" and I have three fields there:
1. the entity reference to the nodes (hidden)
2. image
3. title

What I want to achieve is, pass the referenced node from the entity field as a link to the image field so that the image in the slideshow has a link to the node from the entity reference field.

I tried the following:

In 2. image field settings: I checked: Output this field as a link and in the link path I put: [field__slideshow_link_gallery] which I got from the replacement patterns below.

The problem is that the image actually has a link but the link is the name of the referenced node rather than the link to the referenced node. I would need the link not the name.

In the 1. entity reference field in the view I have only three formatters (label, entity id and rendered entity). I used label as a formatter and checked "Link label to the referenced entity. Unfortunately only the name is passed to the image not the link. Any ideas would be greatly appreciated.
You can select the entity I'd formatter and set the image link to 'node/'[your_token_here]
Use the views image field template (see the views theme information) to wrap it with the link