I've installed image.module with contribs (including image_attach). I have created a blog entry with an attached image. The blog post plus image thumbnail appear fine. However, the href on the thumbnail points to the blog post. I want it to point to the image node so that users can see it full size.
Is there a config option I've missed, or does this require dipping into the code?

Comments

talltim’s picture

I managed to work around this by replacing the node theme with the following:

$prevnode = $node->nid-1;
$output .= l(image_display($image, 'thumbnail'), "node/$prevnode", array(), NULL, NULL, FALSE, TRUE); 

Any reasons why this won't always work?

drewish’s picture

Status: Active » Closed (fixed)

fixed in current versions