By codedigger on
I have done a lot of projects with Typo3, but now beginning to switch to Drupal. One key feature that I'm looking for is similar to Typo3's capability to use ImageMagick to dynamically combine menu text and menu image background to generate very nice looking graphic menu items. Seems like most Drupal site don't have this capability. How can this be done in Drupal?
Comments
a couple of things to try
As far as I know, there is no direct way to accomplish this, similar to typo3's GMENU object. But there are a couple of things to try...
http://drupal.org/project/imagemenu - but I haven't tested it out.
http://drupal.org/node/209989 which refers to http://drupal.org/project/nice_menus.
Once you get into Drupal Theming, you could use some CSS techniques to do image replacement. This method hides the real menu text, and displays an image in its place. You'd still have to manually create the individual images.
I sure would like to see an easy way to implement graphical menus, based solely on a menu item name. Maybe the new imageapi module will help this situation, especially if someone adds a menu module that uses the imageapi.
One final thought is to override the menu generation functions (using your theme's template.php file) and hook into some image generation code... could be imageapi module, or maybe some other image processing/generation functions that are available. http://api.drupal.org/api/search/5/image
Good Luck!
Solution
I have used Typo3 a lot too and was looking for the same functionality, transforming text to an image with a background image. i was about to write my own text2image module, when i found:
http://drupal.org/project/textimage
which is exactly what i had been looking for! Awesome!
signwriter also does what
signwriter also does what you are looking for
http://drupal.org/project/signwriter