By kynsai on
Hi,
I am trying to make a picture gallery but since i don't have a proper names for those pictures i don't want acidfree to display the title of the image.
Is there a way to remove it?
Am using drupal 5.x, acidfree, image_asst
Comments
Id like to know this too.
Id like to know this too. Did you ever find out how?
You can override the
You can override the acidfree-item style class in your theme's style.css file like this:
div.acidfree-item a {
display: block;
font-size: 0px;
}
but unfortunately this may be picked up as unethical SEO cloaking and could cause problems, like your google-rankings dropping.
Found a solution.
Found a solution.
You need to override the theme_acidfree_print_thumb_image() function from acidfree's class_image.inc using your theme's template.php file. I was doing this already in order to get thickbox working with acidfree. (see http://drupal.org/node/169801#comment-700793 for details.)
Copy the original theme_acidfree_print_thumb_image function from class_image.inc in the acidfree folder, and paste it into your theme's template.php file. Rename it to phptemplate_acidfree_print_thumb_image, as shown below. Finally, just remove the
<p>$title</p>in the second to last line.This is the edited function:
I expect there is s similar way to remove the title from the full-image view, if you are not using thickbox, as I am.