is there a way to show two items underneath the image in the random image block:
1. author (clickable to user profile)
2. a node reference CCK field

??

I usually reference an event that the image was taken at and it'd be nice to highlight that in the random image block. I don't see anyway of showing any image info in this block

Comments

simon.males’s picture

If your a themer... You could try to override the output of random block in your template with the following function

function  theme_YOUR-THEME-NAME-HERE_block_random($images, $size) {
  return l(image_display($images[0], $size), 'node/'. $images[0]->nid, array('html' => TRUE));
}

You would have to do some hacking to get author information etc. Not sure if it could be done, but I would start from there.

simon.males’s picture

Sorry that example is for the 6.x version, not sure if its the same for 5.x

mdowsett’s picture

I'm no themer, but I enjoy the challenge of hacking around.

Would that go in my template.php file in my theme? Or somewhere in the image module? or where?

simon.males’s picture

It's a theme override so template.php

sun’s picture

Status: Active » Closed (won't fix)

Sorry, 5.x-1.x won't see any new features.