I have a custom content type "FH Portfolio" item that contains (among other fields) a Field Collection of "Geoimages". Each Geoimage contains (among other fields) one or more "Portfolio image" fields.

I'm trying to construct a view (block) that displays 3 'featured' FH Portfolio items, showing the first Portfolio Image. On hover, the title of the FH Portfolio item should be displayed. When the image is clicked, it should link to the FH Portfolio item, not the Geoimage that has provided the image.

I can get the images displayed correctly, with an Image Hover Effect (using Image Hover Effects module, which relies on a link being wrapped around an image to work)) that displays the title of the relevant FH Portfolio item (by using the token [host:node:title] ), but I can't make the image/title link to the FH Portfolio item; is there any way to do this? (I have Image linked to content).

I've tried rewriting the image field as a link going to [host:node:url] but that doesn't work. (I've also tried including Content:Path as a field in the view (excluded from display) and rewriting the image field to display a link to [path]. That works, but I lose the image hover effect displaying the title.).

Views settings

1 Answer 1


Edit the image field and link image to 'content'

enter image description here

Another method:

    1. Add the nid field in view.
    2. Edit the image field, Go to the rewrite result and check "Output this field as a link". and put node/[nid] token in it. 

enter image description here

  • Thanks. Image is already linked to content; unfortunately 'content' is the Geoimage field collection, not the host node. I've edited the question to mention that I've already done that. Feb 7, 2017 at 13:17
  • I have updated answer. please review again.
    – Karuna
    Feb 7, 2017 at 13:29
  • Using node/[nid] has the same effect as using [path] : the image links to the correct content but no longer displays the title as a hover effect. Feb 7, 2017 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.