Hi to all.

I'am on a constrution on new drupal based web site, so I installed Thickbox along with image module to do this: http://terabytehotel.com/blablamts/?q=image/tid/3&page=1

The main question is: How can I remove the link below image thumbnail, I would like to let thickbox working but want also to remove the links wich open the :Preview an Thumbnail blabla, just want the main thumbnail on photo gallery with the name and the Thickbox

Sorry I'am kinda new with drupal an perhaps this is a basic question

many many many tks

Comments

dman’s picture

Yeah, I wish there was better control of what links show up.

Quick, and not-hacky fix is
- copy your template node.tpl.php to a new file called node-image.tpl.php
- delete the row that says <div class="links"><?php print $links; ?></div> (or something like that)

You can also customize your image pages now...

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

2houseplague’s picture

This sounds very useful, Dan. Where do you tell the Image Module to use node-image.tpl.php?

dman’s picture

Scan through the pages about PHPtemplate theming (node types)
It's auto-detected using the naming convention. (!)

Many many other phptemplate snippets can also be made to magically just start working once you figure out what the appropriate filename for the override would be.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/