2

I have a content type with two fields: image and link. I'd like the image to display linked to the link field. I'm happy to do that myself programmatically, I'm just wondering if there's a module that lets you do this directly from the Manage display screen (ie zero code).

1 Answer 1

3

Using Linked Field and Token module, you can easily do this by checking "Link this field", and entering the appropriate token of your Link field.

Here is an example:

Destination:

[node:field-test-link:url]

Title:

[node:field-test-link:title]

Link this field + Image field

2
  • I was hoping it might come along, many thanks for the info!
    – Andy
    Commented Oct 29, 2012 at 10:30
  • you're welcome, I'm glad I could help, Andy!
    – Sk8erPeter
    Commented Oct 29, 2012 at 14:19

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.