Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Since Link Image Field (http://drupal.org/project/linkimagefield) is on ad undefined maintenance status, I ask here if there is the ability to add a link URL to image fields on CCK and if it will be ported to D7 too (as core module or additional).
Thanks in advance !
Comments
Comment #1
dawehnerThis seems to be a request for a port to drupal7.
Comment #2
mandreato CreditAttribution: mandreato commentedYes: it was a D7 port request (sorry for my poor english)...
But, in the meanwhile, I've switched to another solution (combining field image + views), so I'm not interested to this module anymore.
Comment #3
a_webb CreditAttribution: a_webb commentedIf you would not mind could you please reveal how your other solution works, "combining field image + views" sounds great but I can't seem to get it to work. I am trying to output image fields in a view as a link. I have tried by using the replacement pattern for the link field, and have done according to what I have seen others try...but it isn't working correctly.
Thanks in advance.
Comment #4
mandreato CreditAttribution: mandreato commentedThe "Output this field as a link" with a replacement pattern in the view field is the way I gone for.
You can use whatever as link path, also other fields (if they are in a prior position in the fields list).
For example, in my image field, I used something like "xxx/[nid]" where xxx was the path to a panel with a "Node: ID" argument and [nid] was the node ID field (excluded from visualization). Then the panel used that information as a context for other complex views...
But you can also, more easily, setup a text field in the content type where the image is and use it as replacement pattern for the image URL composition. It depends on which kind of URL you need.
Comment #5
drupal a11y CreditAttribution: drupal a11y commentedYou can also try "Semantic views" or "Semantic CCK" to modify the field outputs.
http://drupal.org/project/semanticviews
http://drupal.org/project/semantic_cck (at the moment no d7 version)
Comment #6
pfrenssenThis is a duplicate of #949588: Drupal 7 port of Link Image Fields.