any idea how to turn off the title of the image and add node-title instead? or just remove both...

Comments

rjbrown99’s picture

The theme_hover_preview_formatter() theming function is what inserts the title if it is there. You can call that from your theme to modify the title however you like. It would be exactly how you might use theme_imagecache_formatter_default(). I'd suggest reviewing some of the issues in the imagecache queue related to theme_imagecache_formatter for some additional code samples and suggestions.

mogop’s picture

I'm sorry but I'm not very familiar with theming functions can you give me some example of the code and where I should use it.
Any plans to add animated effects similar to :
http://www.incg.nl/blog/2008/hover-block-jquery/example/animate_hover.html
http://www.sohtanaka.com/web-design/fancy-thumbnail-hover-effect-w-jquery/
http://www.sohtanaka.com/web-design/examples/image-zoom/

rjbrown99’s picture

I would suggest reviewing the general Drupal documentation on overriding themable output. This should be the same process for this or other modules that allow for the theme layer to override output. They have a 4 step overview on the main page.

http://drupal.org/node/341628

I have no personal plans to expand to other effects, but if someone comes along with a bit of code for that I am open to reviewing it for inclusion in this module.

rickh’s picture

@rjbrown99

Thank you for the information, I had a look at the theme_hover_preview_formatter() function but unfortunately I have no clue how to get it to not display the title or alt text at the bottom of the image being previewed.

Is there any chance you can maybe post the function for beginners like me (that have no clue how it all works) that has to be used to not display the text at the bottom of the image? I would really appreciate it.

Kind regards

Rick

Andre-B’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 6 support ended on February 24th 2016. https://www.drupal.org/drupal-6-eol