Closed (won't fix)
Project:
Link
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2010 at 22:39 UTC
Updated:
14 Nov 2019 at 10:21 UTC
Jump to comment: Most recent
Comments
Comment #1
jcfiala commentedWell, my suggestion would be to have an image field, and then a link field, and then use them together. If a view is appropriate for your display that would work nicely, because you can include a field as a hidden value and then use it's value as a link target for displaying the image field.
If that doesn't work, coming up with your own theme function would work as well, or working a bit with hook_nodeapi (with $op == 'view').
AFAIK, there isn't any automated way to connect a link field with an image field for display, but I'm willing to look at patches.
Comment #2
Tafa commentedHey jcfiala,
Thank you very much for your prompt feedback. I'd say Option #1 is by far the easiest solution I can use here. By uploading a bunch of images on my server and tie them to a link field, I may be able to do what I want to achieve.
Thanks again for helping my out here.
T
Comment #3
nravens commentedI'm also trying to achieve this. Is there any other way?
I have a node-mycontenttype.tpl for my user generated content. I have two link fields and want to display image buttons to those links rather than just plain text.
How can I achieve this?
Comment #4
summit commentedHi,
Is it possible to have the image still only as linkfield, and somehow add the image html around it to show it as a image with img src = the linkfield-content?
greetings, Martijn
Comment #5
damienmckennaThank you all for your efforts, but I'm sorry to say that the D6 version is no longer supported.