Closed (works as designed)
Project:
ImageCache
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2008 at 00:33 UTC
Updated:
18 May 2009 at 17:38 UTC
When printing an imagecache _linked formatter via template (in a 'mycontent-node.tpl.php' file) like this:
print content_format('field__image', $field_image[0], 'thumb_linked');
The result is an image linked to the frontpage not to the relative node. If I set the _linked formatter on the CCK settings page and output the node printing $content everything is fine.
Comments
Comment #1
drewish commentedyeah it uses the fields formatter... what else where you expecting?
Comment #2
sp3boy commentedHaving spent substantial time on exactly the same problem with a D5 system, where I wanted the teaser preset defined for my field 'field_primary_image' to be correctly output as "...thumb as link to node", it may be worth commenting that by adding the full node parameter to the content_format() function call I got the link to the node to be output, thusly:
I hope this will continue to work for D6, haven't got the chance to test it yet.
Comment #3
drewish commentedSince you didn't change the version on the issue I'm guessing your still working with a really old version. You'll find that the -dev version has a very different system.