Closed (outdated)
Project:
Hover Preview for ImageCache
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2010 at 19:02 UTC
Updated:
11 Oct 2016 at 16:55 UTC
Jump to comment: Most recent
Comments
Comment #1
rjbrown99 commentedThe 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.
Comment #2
mogop commentedI'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/
Comment #3
rjbrown99 commentedI 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.
Comment #4
rickh commented@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
Comment #5
Andre-BDrupal 6 support ended on February 24th 2016. https://www.drupal.org/drupal-6-eol