Firstly, apologies for posting this in a closed item before...
With reference to:
http://drupal.org/node/228533
I would like to click on the thumbnail to link to the node. How do I get this to work with Drupal 5?...
I have the carousel displaying with this added to template.php:
function phptemplate_nodecarousel_node($node, $name) {
$content = '';
$content .= image_display ($node, IMAGE_THUMBNAIL);
$content .= ''. l($node->link_title,
$node->link_url) .'';
$content .= '';
return $content;
}
But I would like to link to the node when clicking on the thumbnail.
I tried adding what you said in comment #19 but I assume that only works with Drupal 6? because it didn't return the desired result.
Also, how would I get a nice background to the carousel?
Something like:
http://sorgalla.com/projects/jcarousel/examples/dynamic_ajax.html
And, I've been told by someone who viewed the test site that it's not displaying properly on their side, even though we are using the same browser...
Comments
Comment #1
ultimateboy commentedTo answer the first question, just change the text of the l() function to the the image, and fix the php syntax errors.
In terms of the second question, this can be achieved using css.